/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 8b4af0a
 * Options:   --bitfields --packed-struct --output test35690.c
 * Seed:      3843186450359436471
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
#pragma pack(push)
#pragma pack(1)
struct S0 {
   int32_t  f0;
   volatile int8_t  f1;
   volatile uint8_t  f2;
   const signed f3 : 8;
   volatile uint16_t  f4;
};
#pragma pack(pop)

#pragma pack(push)
#pragma pack(1)
struct S1 {
   int64_t  f0;
};
#pragma pack(pop)

/* --- GLOBAL VARIABLES --- */
static uint64_t g_10 = 0xB03E3869393DDA37LL;
static int32_t g_27 = (-6L);
static int32_t *g_26[5] = {&g_27,&g_27,&g_27,&g_27,&g_27};
static uint32_t g_52 = 0xDAAFE497L;
static int32_t g_56 = 0x430F0C86L;
static int16_t g_87 = 0x5572L;
static uint8_t g_90[8][3] = {{0xA0L,0xB6L,0xD9L},{2UL,255UL,255UL},{0xA0L,0xB6L,0xD9L},{2UL,255UL,255UL},{0xA0L,0xB6L,0xD9L},{2UL,255UL,255UL},{0xA0L,0xB6L,0xD9L},{2UL,255UL,255UL}};
static uint16_t * volatile g_115 = (void*)0;/* VOLATILE GLOBAL g_115 */
static uint16_t g_119 = 65535UL;
static volatile struct S0 g_185 = {-1L,1L,252UL,8,0x3743L};/* VOLATILE GLOBAL g_185 */
static uint32_t g_187 = 0xD2DF743EL;
static uint32_t * const g_191 = &g_187;
static uint32_t * const *g_190 = &g_191;
static int32_t ** volatile g_195 = (void*)0;/* VOLATILE GLOBAL g_195 */
static struct S1 * volatile g_206 = (void*)0;/* VOLATILE GLOBAL g_206 */
static struct S1 * volatile g_207 = (void*)0;/* VOLATILE GLOBAL g_207 */
static struct S1 g_209 = {1L};
static int32_t * volatile g_210 = &g_27;/* VOLATILE GLOBAL g_210 */
static volatile int16_t g_216 = 1L;/* VOLATILE GLOBAL g_216 */
static volatile struct S0 g_247 = {0xE18D16A7L,0x60L,0xF5L,8,1UL};/* VOLATILE GLOBAL g_247 */
static int8_t g_269 = 0x28L;
static int8_t * volatile g_268[4][1] = {{&g_269},{&g_269},{&g_269},{&g_269}};
static int32_t * const  volatile g_277 = &g_27;/* VOLATILE GLOBAL g_277 */
static int32_t **g_312 = &g_26[0];
static uint32_t g_317[1] = {0x2AF2C1D5L};
static uint32_t *g_316 = &g_317[0];
static int32_t g_319 = (-5L);
static int32_t * volatile g_322 = (void*)0;/* VOLATILE GLOBAL g_322 */
static uint32_t g_339[1] = {4294967293UL};
static uint64_t g_343 = 0x545CEC79590070CCLL;
static int64_t *g_369 = (void*)0;
static struct S1 * volatile g_378 = &g_209;/* VOLATILE GLOBAL g_378 */
static volatile uint32_t * volatile g_402[1] = {(void*)0};
static volatile uint32_t g_404 = 0xC86591A1L;/* VOLATILE GLOBAL g_404 */
static volatile uint32_t * volatile g_403 = &g_404;/* VOLATILE GLOBAL g_403 */
static volatile uint32_t g_406 = 0x9B5D5DB5L;/* VOLATILE GLOBAL g_406 */
static volatile uint32_t *g_405 = &g_406;
static volatile uint32_t * volatile *g_401[7][3][1] = {{{&g_405},{&g_402[0]},{&g_402[0]}},{{&g_405},{&g_405},{&g_405}},{{&g_405},{&g_405},{&g_402[0]}},{{&g_402[0]},{&g_405},{&g_405}},{{&g_405},{&g_405},{&g_405}},{{&g_405},{&g_405},{&g_405}},{{&g_405},{&g_405},{&g_405}}};
static volatile uint32_t * volatile **g_400 = &g_401[3][2][0];
static uint8_t * volatile g_417 = &g_90[1][0];/* VOLATILE GLOBAL g_417 */
static uint8_t * volatile * volatile g_416 = &g_417;/* VOLATILE GLOBAL g_416 */
static uint32_t g_423 = 0x8E547E5AL;
static struct S1 * volatile g_428 = &g_209;/* VOLATILE GLOBAL g_428 */
static const int32_t g_507 = 0xADC2E902L;
static volatile struct S0 g_516 = {1L,0L,0UL,-5,0xE876L};/* VOLATILE GLOBAL g_516 */
static int32_t g_519 = 0xCFE0B43AL;
static struct S1 *g_528 = &g_209;
static volatile uint32_t g_535 = 0x6C658D22L;/* VOLATILE GLOBAL g_535 */
static uint32_t g_537 = 9UL;
static int32_t ***g_566 = (void*)0;
static int32_t ****g_565 = &g_566;
static volatile struct S0 g_609 = {-2L,-3L,0x6BL,12,5UL};/* VOLATILE GLOBAL g_609 */
static const int32_t *g_612[9][6][4] = {{{&g_519,(void*)0,&g_27,(void*)0},{&g_27,(void*)0,&g_519,(void*)0},{&g_27,&g_519,&g_319,&g_319},{&g_519,&g_519,&g_27,&g_27},{&g_519,(void*)0,&g_319,&g_319},{&g_27,&g_27,&g_519,&g_319}},{{&g_27,&g_27,&g_27,&g_319},{&g_519,&g_27,&g_27,&g_319},{&g_319,(void*)0,&g_519,&g_27},{&g_27,&g_519,&g_519,&g_319},{&g_319,&g_519,&g_27,(void*)0},{&g_519,(void*)0,&g_27,(void*)0}},{{&g_27,(void*)0,&g_519,(void*)0},{&g_27,&g_519,&g_319,&g_319},{&g_519,&g_519,&g_27,&g_27},{&g_519,(void*)0,&g_319,&g_319},{&g_27,&g_27,&g_519,&g_319},{&g_27,&g_27,&g_27,&g_319}},{{&g_519,&g_27,&g_27,&g_319},{&g_319,(void*)0,&g_519,&g_27},{&g_27,&g_519,&g_519,&g_319},{&g_319,&g_519,&g_27,(void*)0},{&g_519,(void*)0,&g_27,(void*)0},{&g_27,(void*)0,&g_519,(void*)0}},{{&g_27,&g_519,&g_319,&g_319},{&g_519,&g_519,&g_27,&g_27},{&g_519,(void*)0,&g_319,&g_319},{&g_27,&g_27,&g_519,&g_319},{&g_27,&g_27,&g_27,&g_319},{&g_519,&g_27,&g_27,&g_319}},{{&g_319,(void*)0,&g_519,&g_27},{&g_27,&g_519,&g_519,&g_319},{&g_319,&g_519,&g_27,(void*)0},{&g_519,(void*)0,&g_27,(void*)0},{&g_27,(void*)0,&g_519,(void*)0},{&g_27,&g_519,&g_319,&g_319}},{{&g_519,&g_519,&g_27,&g_27},{&g_519,(void*)0,&g_319,&g_319},{&g_27,&g_27,&g_519,&g_319},{&g_27,&g_27,&g_27,&g_319},{&g_519,&g_27,&g_27,&g_319},{&g_319,(void*)0,&g_519,&g_27}},{{&g_27,&g_519,&g_519,&g_319},{&g_319,&g_519,&g_27,(void*)0},{&g_519,(void*)0,&g_27,(void*)0},{&g_27,&g_27,&g_319,&g_27},{&g_519,&g_27,&g_27,(void*)0},{&g_27,&g_319,(void*)0,&g_519}},{{&g_27,&g_27,&g_27,&g_519},{&g_519,&g_519,&g_319,(void*)0},{&g_27,&g_319,&g_27,(void*)0},{&g_319,&g_519,&g_519,&g_519},{&g_27,&g_27,&g_27,&g_519},{(void*)0,&g_319,&g_27,(void*)0}}};
static const int32_t ** volatile g_611[10] = {&g_612[3][4][1],&g_612[2][5][1],&g_612[3][4][1],&g_612[1][0][2],&g_612[1][0][2],&g_612[3][4][1],&g_612[2][5][1],&g_612[3][4][1],&g_612[1][0][2],&g_612[1][0][2]};
static const int32_t ** const  volatile g_613 = &g_612[2][5][1];/* VOLATILE GLOBAL g_613 */
static int32_t g_652[9][9] = {{(-1L),1L,(-1L),0x2ABAEB79L,0x7DF173DDL,0x9612D309L,1L,0x9612D309L,0x7DF173DDL},{0xF67B3170L,(-1L),(-1L),0xF67B3170L,0xB2F0C5BDL,0xF67B3170L,(-1L),(-1L),0xF67B3170L},{0xC01F4EF0L,0x2ABAEB79L,0x10E10747L,0x2ABAEB79L,0xC01F4EF0L,1L,0x7DF173DDL,(-1L),0x7DF173DDL},{(-1L),0xB2F0C5BDL,(-8L),(-8L),0xB2F0C5BDL,(-1L),0xB2F0C5BDL,(-8L),(-8L)},{0xC01F4EF0L,1L,0x7DF173DDL,(-1L),0x7DF173DDL,1L,0xC01F4EF0L,0x2ABAEB79L,0x10E10747L},{0xF67B3170L,0xB2F0C5BDL,0xF67B3170L,(-1L),(-1L),0xF67B3170L,0xB2F0C5BDL,0xF67B3170L,(-1L)},{(-1L),0x2ABAEB79L,0x7DF173DDL,0x9612D309L,1L,0x9612D309L,0x7DF173DDL,0x2ABAEB79L,(-1L)},{(-2L),(-1L),(-8L),(-1L),(-2L),(-2L),(-1L),(-8L),(-1L)},{0x7DF173DDL,1L,0x10E10747L,(-1L),1L,0x2ABAEB79L,1L,(-1L),0x10E10747L}};
static int8_t g_666 = 2L;
static const uint32_t *g_711 = &g_317[0];
static const uint32_t **g_710 = &g_711;
static const uint32_t ** const *g_709 = &g_710;
static const uint32_t g_715 = 0UL;
static uint16_t g_756 = 0xBD36L;
static struct S0 g_766[7] = {{1L,0x8CL,7UL,4,0xC61BL},{1L,0x8CL,7UL,4,0xC61BL},{1L,0x8CL,7UL,4,0xC61BL},{1L,0x8CL,7UL,4,0xC61BL},{1L,0x8CL,7UL,4,0xC61BL},{1L,0x8CL,7UL,4,0xC61BL},{1L,0x8CL,7UL,4,0xC61BL}};
static struct S0 *g_768 = &g_766[6];
static struct S0 **g_767 = &g_768;
static int32_t *g_777[7][1][6] = {{{&g_56,&g_766[6].f0,&g_56,&g_766[6].f0,&g_56,&g_766[6].f0}},{{&g_766[6].f0,&g_766[6].f0,&g_766[6].f0,&g_56,&g_766[6].f0,&g_56}},{{&g_766[6].f0,&g_766[6].f0,&g_766[6].f0,&g_766[6].f0,&g_766[6].f0,&g_56}},{{&g_56,&g_766[6].f0,&g_766[6].f0,&g_56,&g_766[6].f0,&g_766[6].f0}},{{&g_766[6].f0,&g_766[6].f0,&g_56,&g_56,&g_766[6].f0,&g_766[6].f0}},{{&g_56,&g_766[6].f0,&g_56,&g_766[6].f0,&g_56,&g_766[6].f0}},{{&g_766[6].f0,&g_766[6].f0,&g_766[6].f0,&g_56,&g_766[6].f0,&g_56}}};
static int32_t **g_776 = &g_777[2][0][0];
static volatile uint8_t **g_856 = (void*)0;
static volatile uint8_t ***g_855[1] = {&g_856};
static volatile uint8_t *** volatile * volatile g_854 = &g_855[0];/* VOLATILE GLOBAL g_854 */
static volatile uint8_t *** volatile * volatile * volatile g_857 = &g_854;/* VOLATILE GLOBAL g_857 */
static struct S1 g_909[7] = {{0xF4B41AF13A3CD308LL},{0xF4B41AF13A3CD308LL},{0xF4B41AF13A3CD308LL},{0xF4B41AF13A3CD308LL},{0xF4B41AF13A3CD308LL},{0xF4B41AF13A3CD308LL},{0xF4B41AF13A3CD308LL}};
static int8_t g_967 = 0x3BL;
static uint64_t g_968[4][7][8] = {{{0UL,18446744073709551615UL,0x43AC645C4E86C7ECLL,18446744073709551607UL,0xD63939F0ACAF0C65LL,0xF802F134305293BDLL,0UL,0x436EDD16A7554AB9LL},{0x91EF91604CAC846ALL,18446744073709551607UL,0x4AFA2D19AA42DCE2LL,0xCD0E9EA5550F7DD6LL,0x0453279A221DA098LL,4UL,0x91EF91604CAC846ALL,0x5E9B8CA6B8A682AALL},{0xB6CB4A598DB8C00BLL,0x91EF91604CAC846ALL,4UL,0UL,0x4CFC22B99D050D2CLL,0x499ACF876A2D6A71LL,0x9F8AB842A14FAD67LL,0x364E7AA195DE6E79LL},{0xAD03F32C64123900LL,0x5E9B8CA6B8A682AALL,2UL,1UL,0xE49D65E002108E27LL,0xCAA8413100E1BBECLL,0xA631C8FF7715ECA9LL,18446744073709551606UL},{0xCC9C4CAA7638FA27LL,1UL,7UL,0x364E7AA195DE6E79LL,0x0453279A221DA098LL,0xAC0188C1EF2D46E2LL,0xA0CC507383ED6BB5LL,18446744073709551615UL},{0x72EB274D90359867LL,18446744073709551614UL,0x6C367F46BBFF09BCLL,9UL,18446744073709551614UL,0x91EF91604CAC846ALL,0UL,0x43AC645C4E86C7ECLL},{18446744073709551615UL,0xBF68994499A0C210LL,9UL,0x0453279A221DA098LL,0x4FA16713D5912D37LL,0xC8095741363A316BLL,0xB6CB4A598DB8C00BLL,0x79A337915BA16DA2LL}},{{0xA05DE75B8AF82C5BLL,0x2F6382FF5A2CFBEFLL,4UL,0x4AFA2D19AA42DCE2LL,0x20A2289DEC2C9A15LL,0x5AA4204EA3093E9CLL,0x4CFC22B99D050D2CLL,0x9F8AB842A14FAD67LL},{0xE49D65E002108E27LL,1UL,0x499ACF876A2D6A71LL,9UL,9UL,0xA0CC507383ED6BB5LL,1UL,0xA0CC507383ED6BB5LL},{0x90EAA64E02557B1ALL,18446744073709551608UL,18446744073709551615UL,18446744073709551608UL,0x90EAA64E02557B1ALL,0xD0ED18A8B64D79CELL,0x79A337915BA16DA2LL,18446744073709551606UL},{0x43AC645C4E86C7ECLL,0UL,4UL,6UL,0xF9ADC387572F2271LL,0xCC9C4CAA7638FA27LL,0xA05DE75B8AF82C5BLL,18446744073709551608UL},{18446744073709551608UL,18446744073709551615UL,4UL,0UL,0x91EF91604CAC846ALL,0x4CFC22B99D050D2CLL,0x79A337915BA16DA2LL,4UL},{0xF9ADC387572F2271LL,18446744073709551615UL,18446744073709551615UL,18446744073709551606UL,0x436EDD16A7554AB9LL,0x1ED3FCDD6FB6546ELL,1UL,0x436EDD16A7554AB9LL},{0x160420C54386A91FLL,0x90EAA64E02557B1ALL,0x499ACF876A2D6A71LL,0x160420C54386A91FLL,0x5E9B8CA6B8A682AALL,0xCDAB6BD791D8B2CCLL,0x4CFC22B99D050D2CLL,0x72EB274D90359867LL}},{{0x2F6382FF5A2CFBEFLL,0x5AA4204EA3093E9CLL,4UL,18446744073709551615UL,0x364E7AA195DE6E79LL,0xA05DE75B8AF82C5BLL,0xB6CB4A598DB8C00BLL,0x147CF64344FA140CLL},{1UL,0xA631C8FF7715ECA9LL,9UL,0x4FA16713D5912D37LL,18446744073709551606UL,0xABEDD576ECA086F5LL,0UL,0x90EAA64E02557B1ALL},{1UL,0x90EAA64E02557B1ALL,0x6C367F46BBFF09BCLL,9UL,18446744073709551615UL,0x11A7CACF42B27C17LL,0xA0CC507383ED6BB5LL,0xC86006729F9B74B4LL},{0UL,4UL,7UL,0xBF68994499A0C210LL,0x43AC645C4E86C7ECLL,0x4CFC22B99D050D2CLL,0xA631C8FF7715ECA9LL,1UL},{1UL,0xDE2E6E34DC28A6A6LL,2UL,0x72EB274D90359867LL,0x79A337915BA16DA2LL,18446744073709551615UL,0x9F8AB842A14FAD67LL,0x4FA16713D5912D37LL},{6UL,0UL,4UL,0xF802F134305293BDLL,0x9F8AB842A14FAD67LL,7UL,0x91EF91604CAC846ALL,0xAD03F32C64123900LL},{0UL,0x364E7AA195DE6E79LL,0x4AFA2D19AA42DCE2LL,0UL,0xA0CC507383ED6BB5LL,0xA0CC507383ED6BB5LL,0UL,0x4AFA2D19AA42DCE2LL}},{{0x20A2289DEC2C9A15LL,0x20A2289DEC2C9A15LL,0x5C2B1D7C34D0B0DCLL,1UL,18446744073709551606UL,0x3A2699915114F6CBLL,0xBF68994499A0C210LL,0xE49D65E002108E27LL},{0x11A7CACF42B27C17LL,0x2F6382FF5A2CFBEFLL,0x160420C54386A91FLL,0x147CF64344FA140CLL,18446744073709551608UL,0x43AC645C4E86C7ECLL,0x499ACF876A2D6A71LL,0xE49D65E002108E27LL},{0x2F6382FF5A2CFBEFLL,5UL,18446744073709551614UL,1UL,4UL,0x91EF91604CAC846ALL,18446744073709551607UL,0x4AFA2D19AA42DCE2LL},{0x43387B826EC32B35LL,0xAD03F32C64123900LL,0xAC5C4C8BA652419BLL,0UL,0x436EDD16A7554AB9LL,18446744073709551615UL,9UL,0x6C367F46BBFF09BCLL},{0xABEDD576ECA086F5LL,0x43AC645C4E86C7ECLL,0UL,0xAC5C4C8BA652419BLL,0x364E7AA195DE6E79LL,0UL,0xA7BE8C1B016E1C4ALL,0x91EF91604CAC846ALL},{18446744073709551614UL,18446744073709551607UL,0x1ED3FCDD6FB6546ELL,0x364E7AA195DE6E79LL,0xABEDD576ECA086F5LL,0x3A2699915114F6CBLL,1UL,0x3707D8F6FD5EF13CLL},{0xA05DE75B8AF82C5BLL,0x364E7AA195DE6E79LL,18446744073709551615UL,4UL,0x5AA4204EA3093E9CLL,0x2F6382FF5A2CFBEFLL,9UL,1UL}}};
static volatile uint16_t * volatile g_1024 = &g_247.f4;/* VOLATILE GLOBAL g_1024 */
static volatile uint16_t * volatile * const  volatile g_1023 = &g_1024;/* VOLATILE GLOBAL g_1023 */
static int32_t ** volatile g_1046 = &g_26[4];/* VOLATILE GLOBAL g_1046 */
static int32_t ** volatile g_1047 = &g_26[4];/* VOLATILE GLOBAL g_1047 */
static struct S1 * volatile g_1075 = &g_209;/* VOLATILE GLOBAL g_1075 */
static struct S1 * volatile g_1087 = &g_909[5];/* VOLATILE GLOBAL g_1087 */
static uint8_t *g_1112 = &g_90[3][1];
static uint8_t **g_1111 = &g_1112;
static uint8_t *** const g_1110 = &g_1111;
static uint8_t *** const *g_1109 = &g_1110;
static int32_t * const *g_1138 = (void*)0;
static volatile int32_t g_1169 = 5L;/* VOLATILE GLOBAL g_1169 */
static int64_t *g_1182[4][4][1] = {{{&g_909[1].f0},{&g_909[1].f0},{&g_909[1].f0},{&g_909[1].f0}},{{&g_909[1].f0},{&g_909[1].f0},{&g_909[1].f0},{&g_909[1].f0}},{{&g_909[1].f0},{&g_909[1].f0},{&g_909[1].f0},{&g_909[1].f0}},{{&g_909[1].f0},{&g_909[1].f0},{&g_909[1].f0},{&g_909[1].f0}}};
static int32_t g_1213 = 0x18EAC720L;
static uint16_t g_1231 = 1UL;
static struct S0 g_1233 = {0L,0x09L,0xBBL,6,0x1CC8L};/* VOLATILE GLOBAL g_1233 */
static struct S0 *g_1232 = &g_1233;
static volatile int64_t g_1245 = 0x6FE924E0772CE095LL;/* VOLATILE GLOBAL g_1245 */
static int16_t *g_1274[3] = {&g_87,&g_87,&g_87};
static volatile int8_t g_1311 = (-1L);/* VOLATILE GLOBAL g_1311 */
static int32_t ** volatile g_1325 = (void*)0;/* VOLATILE GLOBAL g_1325 */
static int32_t ** volatile g_1326[9] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static volatile struct S0 g_1330 = {-1L,0xABL,0x7BL,-8,0x171BL};/* VOLATILE GLOBAL g_1330 */
static volatile struct S0 g_1408 = {0x6C1FCFC3L,-1L,251UL,0,0x0D1EL};/* VOLATILE GLOBAL g_1408 */
static volatile struct S0 g_1425 = {0xF2410C3BL,0xD1L,9UL,-4,0x6C3BL};/* VOLATILE GLOBAL g_1425 */
static volatile int64_t g_1469[1][6] = {{7L,7L,7L,7L,7L,7L}};
static int32_t * volatile g_1496[7][2] = {{&g_27,&g_27},{&g_27,&g_27},{&g_27,&g_27},{&g_27,&g_27},{&g_27,&g_27},{&g_27,&g_27},{&g_27,&g_27}};
static int8_t *g_1498 = &g_967;
static int32_t * volatile g_1513 = &g_319;/* VOLATILE GLOBAL g_1513 */
static int64_t g_1570 = 0x924F070036EBFB2DLL;
static int32_t g_1601 = 0xF456007BL;
static const struct S0 g_1614[2][9] = {{{0xCD364E29L,6L,8UL,-8,0x90E6L},{-1L,0x2BL,0x56L,2,0xDAF3L},{0xCD364E29L,6L,8UL,-8,0x90E6L},{0xCD364E29L,6L,8UL,-8,0x90E6L},{-1L,0x2BL,0x56L,2,0xDAF3L},{0xCD364E29L,6L,8UL,-8,0x90E6L},{0xCD364E29L,6L,8UL,-8,0x90E6L},{-1L,0x2BL,0x56L,2,0xDAF3L},{0xCD364E29L,6L,8UL,-8,0x90E6L}},{{0xCD364E29L,6L,8UL,-8,0x90E6L},{-1L,0x2BL,0x56L,2,0xDAF3L},{0xCD364E29L,6L,8UL,-8,0x90E6L},{0xCD364E29L,6L,8UL,-8,0x90E6L},{-1L,0x2BL,0x56L,2,0xDAF3L},{0xCD364E29L,6L,8UL,-8,0x90E6L},{0xCD364E29L,6L,8UL,-8,0x90E6L},{-1L,0x2BL,0x56L,2,0xDAF3L},{0xCD364E29L,6L,8UL,-8,0x90E6L}}};
static uint16_t *g_1651 = (void*)0;
static struct S0 g_1652 = {4L,0L,0xFEL,-13,0UL};/* VOLATILE GLOBAL g_1652 */
static int32_t * volatile g_1660 = &g_1601;/* VOLATILE GLOBAL g_1660 */
static struct S1 *g_1672 = &g_209;
static uint16_t **g_1676 = &g_1651;
static volatile struct S0 g_1677 = {-1L,0xF2L,0xE8L,5,0UL};/* VOLATILE GLOBAL g_1677 */
static const int32_t *g_1710 = &g_519;
static volatile struct S0 g_1813 = {0x8772D2F9L,-1L,254UL,4,65535UL};/* VOLATILE GLOBAL g_1813 */
static uint32_t **g_1834 = (void*)0;
static uint32_t ***g_1833 = &g_1834;
static struct S0 g_1858 = {0x0C28D1DCL,0x08L,0UL,-0,5UL};/* VOLATILE GLOBAL g_1858 */
static struct S0 g_1956 = {5L,-1L,0xEDL,15,1UL};/* VOLATILE GLOBAL g_1956 */
static volatile int32_t *g_2054[3] = {(void*)0,(void*)0,(void*)0};
static volatile int32_t * volatile *g_2053[5] = {&g_2054[0],&g_2054[0],&g_2054[0],&g_2054[0],&g_2054[0]};
static volatile int32_t * volatile * volatile *g_2052 = &g_2053[3];
static volatile int32_t * volatile * volatile * volatile *g_2051 = &g_2052;
static volatile int32_t * volatile * volatile * volatile ** volatile g_2055 = &g_2051;/* VOLATILE GLOBAL g_2055 */
static int16_t g_2075 = 9L;
static struct S1 ** volatile g_2084 = &g_528;/* VOLATILE GLOBAL g_2084 */
static const struct S0 * const **g_2099 = (void*)0;
static const struct S0 * const ** volatile * volatile g_2098 = &g_2099;/* VOLATILE GLOBAL g_2098 */
static int32_t * volatile g_2151 = &g_652[6][1];/* VOLATILE GLOBAL g_2151 */
static const volatile struct S0 g_2156 = {0x36735C06L,-3L,0x4BL,-4,0x0468L};/* VOLATILE GLOBAL g_2156 */
static struct S1 **g_2170 = &g_528;
static struct S1 *** volatile g_2169[5] = {&g_2170,&g_2170,&g_2170,&g_2170,&g_2170};
static const int32_t ** volatile g_2196 = (void*)0;/* VOLATILE GLOBAL g_2196 */
static int32_t * volatile g_2208 = &g_319;/* VOLATILE GLOBAL g_2208 */
static volatile int32_t g_2249 = 0x19626B57L;/* VOLATILE GLOBAL g_2249 */
static struct S0 g_2351 = {-10L,0x0EL,0xB2L,-10,65535UL};/* VOLATILE GLOBAL g_2351 */
static int32_t * volatile g_2354 = &g_652[2][4];/* VOLATILE GLOBAL g_2354 */
static int64_t g_2371[6][5] = {{0x8E688F42754E9F8BLL,0x8E688F42754E9F8BLL,7L,0x8E688F42754E9F8BLL,0x8E688F42754E9F8BLL},{0x3FFADB321E2C00E8LL,1L,0x3FFADB321E2C00E8LL,1L,0xBA7CC8532485D08BLL},{0x8E688F42754E9F8BLL,(-4L),(-4L),0x8E688F42754E9F8BLL,(-4L)},{0xBA7CC8532485D08BLL,1L,0L,1L,0xBA7CC8532485D08BLL},{(-4L),0x8E688F42754E9F8BLL,(-4L),(-4L),0x8E688F42754E9F8BLL},{0xBA7CC8532485D08BLL,1L,0x3FFADB321E2C00E8LL,1L,0x3FFADB321E2C00E8LL}};
static int32_t g_2391 = 1L;
static volatile uint8_t g_2401 = 0x66L;/* VOLATILE GLOBAL g_2401 */
static int32_t g_2412 = 0L;
static int32_t ** volatile g_2447[7][4] = {{&g_26[4],&g_26[4],&g_26[4],&g_26[4]},{&g_26[4],&g_26[4],&g_26[4],&g_26[4]},{&g_26[4],&g_26[4],&g_26[4],&g_26[4]},{&g_26[4],&g_26[4],&g_26[4],&g_26[4]},{&g_26[4],&g_26[4],&g_26[4],&g_26[4]},{&g_26[4],&g_26[4],&g_26[4],&g_26[4]},{&g_26[4],&g_26[4],&g_26[4],&g_26[4]}};
static volatile int16_t g_2460[3][10][8] = {{{0x2AD8L,(-2L),(-2L),0x2AD8L,1L,0x2037L,0x2AD8L,0x2037L},{0x2AD8L,0L,0L,0L,0x2AD8L,0L,1L,1L},{0x2037L,0L,1L,1L,0L,0x2037L,(-2L),0L},{1L,(-2L),1L,0x2037L,(-5L),0L,0x2037L,0xCA7BL},{1L,(-2L),1L,0x2037L,0x2037L,1L,(-2L),1L},{0xCA7BL,0x2037L,0L,(-5L),0x2037L,(-5L),0L,0x2037L},{1L,0L,0xCA7BL,1L,(-5L),(-5L),1L,0xCA7BL},{0x2037L,0x2037L,1L,(-2L),1L,1L,1L,(-2L)},{0xCA7BL,(-2L),0xCA7BL,(-5L),(-2L),0L,0L,(-2L)},{(-2L),0L,0L,(-2L),(-5L),0xCA7BL,(-2L),0xCA7BL}},{{(-2L),1L,1L,1L,(-2L),1L,0x2037L,0x2037L},{0xCA7BL,1L,(-5L),(-5L),1L,0xCA7BL,0L,1L},{0x2037L,0L,(-5L),0x2037L,(-5L),0L,0x2037L,0xCA7BL},{1L,(-2L),1L,0x2037L,0x2037L,1L,(-2L),1L},{0xCA7BL,0x2037L,0L,(-5L),0x2037L,(-5L),0L,0x2037L},{1L,0L,0xCA7BL,1L,(-5L),(-5L),1L,0xCA7BL},{0x2037L,0x2037L,1L,(-2L),1L,1L,1L,(-2L)},{0xCA7BL,(-2L),0xCA7BL,(-5L),(-2L),0L,0L,(-2L)},{(-2L),0L,0L,(-2L),(-5L),0xCA7BL,(-2L),0xCA7BL},{(-2L),1L,1L,1L,(-2L),1L,0x2037L,0x2037L}},{{0xCA7BL,1L,(-5L),(-5L),1L,0xCA7BL,0L,1L},{0x2037L,0L,(-5L),0x2037L,(-5L),0L,0x2037L,0xCA7BL},{1L,(-2L),1L,0x2037L,0x2037L,1L,(-2L),1L},{0xCA7BL,0x2037L,0L,(-5L),0x2037L,(-5L),0L,0x2037L},{1L,0L,0xCA7BL,1L,(-5L),(-5L),1L,0xCA7BL},{0x2037L,0x2037L,1L,(-2L),1L,1L,1L,(-2L)},{0xCA7BL,(-2L),0xCA7BL,(-5L),(-2L),0L,0L,(-2L)},{(-2L),0L,1L,0L,0x2AD8L,0L,0L,0L},{0L,(-5L),0x2037L,(-5L),0L,0x2037L,0xCA7BL,0xCA7BL},{0L,(-5L),0x2AD8L,0x2AD8L,(-5L),0L,1L,(-5L)}}};
static int64_t g_2512 = 6L;
static const struct S1 *g_2563[2] = {&g_909[3],&g_909[3]};
static const struct S1 ** volatile g_2562[1][9][4] = {{{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]},{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]},{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]},{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]},{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]},{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]},{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]},{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]},{&g_2563[1],&g_2563[1],&g_2563[1],&g_2563[1]}}};
static const struct S1 ** volatile g_2564 = &g_2563[1];/* VOLATILE GLOBAL g_2564 */
static int8_t *g_2589 = &g_967;
static int32_t ** volatile g_2595 = (void*)0;/* VOLATILE GLOBAL g_2595 */
static int32_t ** volatile g_2596 = &g_26[2];/* VOLATILE GLOBAL g_2596 */
static volatile int64_t g_2678 = 0x585D67A78EF364E8LL;/* VOLATILE GLOBAL g_2678 */
static int32_t * volatile g_2794[8] = {&g_2391,&g_2391,&g_2391,&g_2391,&g_2391,&g_2391,&g_2391,&g_2391};
static int64_t **g_2834 = &g_1182[3][0][0];
static int64_t *** volatile g_2833 = &g_2834;/* VOLATILE GLOBAL g_2833 */
static int64_t g_2852[6][6] = {{5L,(-1L),0xA709DBC24CA3521BLL,0x522DD09C47EFBB66LL,0xA709DBC24CA3521BLL,(-1L)},{0xA709DBC24CA3521BLL,5L,0x46028D9FD7A8BE28LL,0x37F0E04F1296843FLL,0x37F0E04F1296843FLL,0x46028D9FD7A8BE28LL},{0xA709DBC24CA3521BLL,0xA709DBC24CA3521BLL,0x37F0E04F1296843FLL,0x522DD09C47EFBB66LL,(-6L),0x522DD09C47EFBB66LL},{5L,0xA709DBC24CA3521BLL,5L,0x46028D9FD7A8BE28LL,0x37F0E04F1296843FLL,0x37F0E04F1296843FLL},{(-1L),5L,5L,(-1L),0xA709DBC24CA3521BLL,0x522DD09C47EFBB66LL},{0x522DD09C47EFBB66LL,(-1L),0x37F0E04F1296843FLL,(-1L),0x522DD09C47EFBB66LL,0x46028D9FD7A8BE28LL}};
static int32_t ***g_2903 = &g_776;
static int32_t ****g_2902 = &g_2903;
static int32_t *****g_2901[1] = {&g_2902};
static uint32_t ***g_2922 = (void*)0;
static const struct S0 g_2924[9][7][4] = {{{{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{3L,-7L,1UL,14,0x8542L},{-10L,0x4BL,255UL,-3,65535UL},{0x43EBFCB1L,-4L,6UL,3,0x193AL}},{{4L,1L,251UL,14,0UL},{0x0CA96560L,-1L,0x20L,-1,65532UL},{0x5F3DA287L,0x87L,249UL,5,0xC8C6L},{7L,0L,0x20L,-3,7UL}},{{-10L,0x4BL,255UL,-3,65535UL},{0x53E0ADFAL,-9L,0x50L,14,0xC686L},{0L,-1L,0x47L,-4,0xC992L},{0x7B978F49L,0xE9L,0x80L,-7,0x3CA2L}},{{9L,6L,255UL,0,0x3BB2L},{1L,0L,0x7BL,-12,65535UL},{4L,1L,251UL,14,0UL},{1L,0L,0x7BL,-12,65535UL}},{{0xDF2B7CCFL,1L,0UL,9,0UL},{-10L,0x4BL,255UL,-3,65535UL},{0L,0xD5L,255UL,-10,0UL},{0L,0x26L,255UL,-4,0UL}},{{0x9033BBC5L,3L,0x37L,7,65535UL},{-8L,0xE3L,0xE8L,-3,1UL},{7L,0L,0x20L,-3,7UL},{0L,-1L,0x47L,-4,0xC992L}},{{0L,-1L,0x47L,-4,0xC992L},{0L,0L,1UL,-12,0x0EE6L},{0L,0x26L,255UL,-4,0UL},{0x457A437CL,3L,0xAFL,-1,0x58C7L}}},{{{0L,-1L,0x47L,-4,0xC992L},{0x9ACF4AC0L,-1L,249UL,7,0x2071L},{7L,0L,0x20L,-3,7UL},{1L,0L,1UL,1,0UL}},{{0x9033BBC5L,3L,0x37L,7,65535UL},{0x457A437CL,3L,0xAFL,-1,0x58C7L},{0L,0xD5L,255UL,-10,0UL},{4L,0x9DL,0x37L,-12,7UL}},{{0xDF2B7CCFL,1L,0UL,9,0UL},{-1L,0x23L,3UL,-4,0x79D3L},{4L,1L,251UL,14,0UL},{0xAA4DE77AL,5L,1UL,-0,1UL}},{{9L,6L,255UL,0,0x3BB2L},{0x1B141E13L,0xD9L,5UL,9,0UL},{0L,-1L,0x47L,-4,0xC992L},{0xBDA68E25L,0x0FL,255UL,14,1UL}},{{-10L,0x4BL,255UL,-3,65535UL},{0x04F564E4L,0x82L,0xB4L,-13,65535UL},{0x5F3DA287L,0x87L,249UL,5,0xC8C6L},{4L,0x75L,0x3AL,-3,0x8A9DL}},{{4L,1L,251UL,14,0UL},{2L,-1L,1UL,1,0x996BL},{-10L,0x4BL,255UL,-3,65535UL},{-10L,0x4BL,255UL,-3,65535UL}},{{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{0x53E0ADFAL,-9L,0x50L,14,0xC686L},{0L,0L,1UL,-12,0x0EE6L}}},{{{0x04F564E4L,0x82L,0xB4L,-13,65535UL},{1L,0L,1UL,1,0UL},{2L,-1L,1UL,1,0x996BL},{9L,6L,255UL,0,0x3BB2L}},{{-8L,0xE3L,0xE8L,-3,1UL},{0xBDA68E25L,0x0FL,255UL,14,1UL},{0x29B5A612L,0x31L,0xD8L,10,1UL},{2L,-1L,1UL,1,0x996BL}},{{5L,2L,3UL,-8,3UL},{0xBDA68E25L,0x0FL,255UL,14,1UL},{0xAA4DE77AL,5L,1UL,-0,1UL},{9L,6L,255UL,0,0x3BB2L}},{{0xBDA68E25L,0x0FL,255UL,14,1UL},{1L,0L,1UL,1,0UL},{0L,0x94L,0x90L,-6,0x0F24L},{0L,0L,1UL,-12,0x0EE6L}},{{0L,0x26L,255UL,-4,0UL},{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{3L,-7L,1UL,14,0x8542L},{-10L,0x4BL,255UL,-3,65535UL}},{{-1L,-1L,1UL,12,0xFB2EL},{2L,-1L,1UL,1,0x996BL},{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{4L,0x75L,0x3AL,-3,0x8A9DL}},{{0x9ACF4AC0L,-1L,249UL,7,0x2071L},{0x04F564E4L,0x82L,0xB4L,-13,65535UL},{0x7B978F49L,0xE9L,0x80L,-7,0x3CA2L},{0xBDA68E25L,0x0FL,255UL,14,1UL}}},{{{0L,0xD5L,255UL,-10,0UL},{3L,-7L,1UL,14,0x8542L},{9L,6L,255UL,0,0x3BB2L},{-8L,0xE3L,0xE8L,-3,1UL}},{{0xDF2B7CCFL,1L,0UL,9,0UL},{0x1B141E13L,0xD9L,5UL,9,0UL},{0xDF2B7CCFL,1L,0UL,9,0UL},{2L,-1L,1UL,1,0x996BL}},{{1L,0L,1UL,1,0UL},{0xDF2B7CCFL,1L,0UL,9,0UL},{0x9033BBC5L,3L,0x37L,7,65535UL},{-1L,0x83L,0x7EL,-3,0xE82CL}},{{-8L,0xE3L,0xE8L,-3,1UL},{7L,0L,0x20L,-3,7UL},{0L,-1L,0x47L,-4,0xC992L},{0xDF2B7CCFL,1L,0UL,9,0UL}},{{0x9ACF4AC0L,-1L,249UL,7,0x2071L},{0x3E2A0BA6L,0xF2L,255UL,-6,3UL},{0L,-1L,0x47L,-4,0xC992L},{0L,0xD5L,255UL,-10,0UL}},{{-8L,0xE3L,0xE8L,-3,1UL},{4L,0x9DL,0x37L,-12,7UL},{0x9033BBC5L,3L,0x37L,7,65535UL},{0x5F3DA287L,0x87L,249UL,5,0xC8C6L}},{{1L,0L,1UL,1,0UL},{-1L,-1L,1UL,12,0xFB2EL},{0xDF2B7CCFL,1L,0UL,9,0UL},{0x7B978F49L,0xE9L,0x80L,-7,0x3CA2L}}},{{{0xDF2B7CCFL,1L,0UL,9,0UL},{0x7B978F49L,0xE9L,0x80L,-7,0x3CA2L},{9L,6L,255UL,0,0x3BB2L},{-10L,0x4BL,255UL,-3,65535UL}},{{1L,0L,0UL,-3,0x36D2L},{0L,0x26L,255UL,-4,0UL},{-10L,0x4BL,255UL,-3,65535UL},{0xAA4DE77AL,5L,1UL,-0,1UL}},{{7L,0L,0x20L,-3,7UL},{9L,6L,255UL,0,0x3BB2L},{4L,1L,251UL,14,0UL},{0x9033BBC5L,3L,0x37L,7,65535UL}},{{0x53E0ADFAL,-9L,0x50L,14,0xC686L},{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{0x53E0ADFAL,-9L,0x50L,14,0xC686L}},{{0x5F3DA287L,0x87L,249UL,5,0xC8C6L},{0L,-1L,0x47L,-4,0xC992L},{0x04F564E4L,0x82L,0xB4L,-13,65535UL},{0x1B141E13L,0xD9L,5UL,9,0UL}},{{0x0CA96560L,-1L,0x20L,-1,65532UL},{0x9ACF4AC0L,-1L,249UL,7,0x2071L},{-8L,0xE3L,0xE8L,-3,1UL},{4L,0x75L,0x3AL,-3,0x8A9DL}},{{-1L,0x23L,3UL,-4,0x79D3L},{0x53E0ADFAL,-9L,0x50L,14,0xC686L},{5L,2L,3UL,-8,3UL},{4L,0x75L,0x3AL,-3,0x8A9DL}}},{{{4L,0x9DL,0x37L,-12,7UL},{0x9ACF4AC0L,-1L,249UL,7,0x2071L},{0xBDA68E25L,0x0FL,255UL,14,1UL},{0x1B141E13L,0xD9L,5UL,9,0UL}},{{1L,0L,0x7BL,-12,65535UL},{0L,-1L,0x47L,-4,0xC992L},{0L,0x26L,255UL,-4,0UL},{0x53E0ADFAL,-9L,0x50L,14,0xC686L}},{{4L,1L,251UL,14,0UL},{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{-1L,-1L,1UL,12,0xFB2EL},{0x9033BBC5L,3L,0x37L,7,65535UL}},{{0x457A437CL,3L,0xAFL,-1,0x58C7L},{9L,6L,255UL,0,0x3BB2L},{0x9ACF4AC0L,-1L,249UL,7,0x2071L},{0xAA4DE77AL,5L,1UL,-0,1UL}},{{-1L,-1L,1UL,12,0xFB2EL},{0L,0x26L,255UL,-4,0UL},{0L,0xD5L,255UL,-10,0UL},{-10L,0x4BL,255UL,-3,65535UL}},{{0L,-1L,0x47L,-4,0xC992L},{0x7B978F49L,0xE9L,0x80L,-7,0x3CA2L},{0x457A437CL,3L,0xAFL,-1,0x58C7L},{0x7B978F49L,0xE9L,0x80L,-7,0x3CA2L}},{{0L,0x94L,0x90L,-6,0x0F24L},{-1L,-1L,1UL,12,0xFB2EL},{1L,0L,0UL,-3,0x36D2L},{0x5F3DA287L,0x87L,249UL,5,0xC8C6L}}},{{{4L,0x75L,0x3AL,-3,0x8A9DL},{4L,0x9DL,0x37L,-12,7UL},{0xAA4DE77AL,5L,1UL,-0,1UL},{0L,0xD5L,255UL,-10,0UL}},{{0L,0xD5L,255UL,-10,0UL},{0x3E2A0BA6L,0xF2L,255UL,-6,3UL},{0x5F3DA287L,0x87L,249UL,5,0xC8C6L},{0xDF2B7CCFL,1L,0UL,9,0UL}},{{0L,0xD5L,255UL,-10,0UL},{7L,0L,0x20L,-3,7UL},{0xAA4DE77AL,5L,1UL,-0,1UL},{-1L,0x83L,0x7EL,-3,0xE82CL}},{{4L,0x75L,0x3AL,-3,0x8A9DL},{0xDF2B7CCFL,1L,0UL,9,0UL},{1L,0L,0UL,-3,0x36D2L},{2L,-1L,1UL,1,0x996BL}},{{0L,0x94L,0x90L,-6,0x0F24L},{0x1B141E13L,0xD9L,5UL,9,0UL},{0x457A437CL,3L,0xAFL,-1,0x58C7L},{-8L,0xE3L,0xE8L,-3,1UL}},{{0L,-1L,0x47L,-4,0xC992L},{3L,-7L,1UL,14,0x8542L},{0L,0xD5L,255UL,-10,0UL},{0x0CA96560L,-1L,0x20L,-1,65532UL}},{{-1L,-1L,1UL,12,0xFB2EL},{1L,0L,0x7BL,-12,65535UL},{0x9ACF4AC0L,-1L,249UL,7,0x2071L},{0L,0L,1UL,-12,0x0EE6L}}},{{{0x457A437CL,3L,0xAFL,-1,0x58C7L},{0xBDA68E25L,0x0FL,255UL,14,1UL},{-1L,-1L,1UL,12,0xFB2EL},{-1L,-1L,1UL,12,0xFB2EL}},{{4L,1L,251UL,14,0UL},{4L,1L,251UL,14,0UL},{0L,0x26L,255UL,-4,0UL},{0x3E2A0BA6L,0xF2L,255UL,-6,3UL}},{{1L,0L,0x7BL,-12,65535UL},{-1L,0x83L,0x7EL,-3,0xE82CL},{0xBDA68E25L,0x0FL,255UL,14,1UL},{0L,-1L,0x47L,-4,0xC992L}},{{4L,0x9DL,0x37L,-12,7UL},{0x0CA96560L,-1L,0x20L,-1,65532UL},{5L,2L,3UL,-8,3UL},{0xBDA68E25L,0x0FL,255UL,14,1UL}},{{-1L,0x23L,3UL,-4,0x79D3L},{0x0CA96560L,-1L,0x20L,-1,65532UL},{-8L,0xE3L,0xE8L,-3,1UL},{0L,-1L,0x47L,-4,0xC992L}},{{0x0CA96560L,-1L,0x20L,-1,65532UL},{-1L,0x83L,0x7EL,-3,0xE82CL},{0x04F564E4L,0x82L,0xB4L,-13,65535UL},{0x3E2A0BA6L,0xF2L,255UL,-6,3UL}},{{0x5F3DA287L,0x87L,249UL,5,0xC8C6L},{4L,1L,251UL,14,0UL},{0x2799FD38L,0x0CL,0xF9L,8,0x8E5DL},{-1L,-1L,1UL,12,0xFB2EL}}},{{{0x53E0ADFAL,-9L,0x50L,14,0xC686L},{0xBDA68E25L,0x0FL,255UL,14,1UL},{4L,1L,251UL,14,0UL},{0L,0L,1UL,-12,0x0EE6L}},{{7L,0L,0x20L,-3,7UL},{1L,0L,0x7BL,-12,65535UL},{-10L,0x4BL,255UL,-3,65535UL},{0x0CA96560L,-1L,0x20L,-1,65532UL}},{{1L,0L,0UL,-3,0x36D2L},{3L,-7L,1UL,14,0x8542L},{9L,6L,255UL,0,0x3BB2L},{-8L,0xE3L,0xE8L,-3,1UL}},{{0xDF2B7CCFL,1L,0UL,9,0UL},{0x1B141E13L,0xD9L,5UL,9,0UL},{0xDF2B7CCFL,1L,0UL,9,0UL},{2L,-1L,1UL,1,0x996BL}},{{1L,0L,1UL,1,0UL},{0xDF2B7CCFL,1L,0UL,9,0UL},{0x9033BBC5L,3L,0x37L,7,65535UL},{-1L,0x83L,0x7EL,-3,0xE82CL}},{{-8L,0xE3L,0xE8L,-3,1UL},{7L,0L,0x20L,-3,7UL},{0L,-1L,0x47L,-4,0xC992L},{0xDF2B7CCFL,1L,0UL,9,0UL}},{{0x9ACF4AC0L,-1L,249UL,7,0x2071L},{0x3E2A0BA6L,0xF2L,255UL,-6,3UL},{0L,-1L,0x47L,-4,0xC992L},{0L,0xD5L,255UL,-10,0UL}}}};
static volatile struct S0 g_2933 = {0xBAEA6DFCL,0x0DL,0UL,8,0xDDBFL};/* VOLATILE GLOBAL g_2933 */
static volatile struct S0 g_2952 = {0L,0x59L,255UL,-7,65528UL};/* VOLATILE GLOBAL g_2952 */
static struct S0 g_2985 = {0x581490E0L,-1L,0x43L,2,0x5ED5L};/* VOLATILE GLOBAL g_2985 */
static uint32_t g_2991 = 9UL;
static int8_t **g_3000[1] = {&g_2589};
static int8_t ***g_2999 = &g_3000[0];
static int8_t ****g_2998 = &g_2999;
static int32_t g_3045 = 0L;
static const int32_t g_3077 = 0x3CD9EB86L;
static struct S0 g_3085 = {0xC807AFE6L,0x73L,0xA9L,1,0x6D70L};/* VOLATILE GLOBAL g_3085 */
static struct S0 g_3086 = {0xDBE8CC0CL,9L,0x57L,11,0xA5ECL};/* VOLATILE GLOBAL g_3086 */
static int32_t * volatile g_3099 = &g_652[3][2];/* VOLATILE GLOBAL g_3099 */
static uint32_t * const **g_3101 = &g_190;
static uint32_t * const *** volatile g_3100 = &g_3101;/* VOLATILE GLOBAL g_3100 */
static struct S0 g_3169 = {0x673E9F0AL,1L,0x5BL,1,65527UL};/* VOLATILE GLOBAL g_3169 */
static volatile uint32_t g_3246[8][2] = {{0UL,0UL},{0UL,0UL},{0UL,0UL},{0UL,0UL},{0UL,0UL},{0UL,0UL},{0UL,0UL},{0UL,0UL}};
static struct S1 ** volatile g_3258 = &g_1672;/* VOLATILE GLOBAL g_3258 */
static volatile struct S0 g_3299 = {0L,0xF9L,0xD3L,4,0UL};/* VOLATILE GLOBAL g_3299 */
static struct S0 g_3316 = {0x594E108AL,0x44L,0UL,-14,6UL};/* VOLATILE GLOBAL g_3316 */
static volatile int16_t * volatile ** const g_3319 = (void*)0;
static int16_t **g_3321 = &g_1274[0];
static int16_t ***g_3320 = &g_3321;
static struct S0 g_3328 = {0x8B523BB7L,1L,0x64L,-7,0UL};/* VOLATILE GLOBAL g_3328 */
static int32_t ** volatile g_3376 = &g_26[1];/* VOLATILE GLOBAL g_3376 */
static uint64_t g_3414 = 1UL;
static int32_t * volatile g_3415 = &g_2391;/* VOLATILE GLOBAL g_3415 */
static uint8_t g_3467[8][4][6] = {{{0UL,1UL,0x18L,0UL,0UL,0UL},{1UL,0UL,0x31L,0x9BL,0UL,254UL},{0x9FL,0UL,0xA2L,254UL,0xACL,0x68L},{255UL,1UL,254UL,246UL,0xE1L,255UL}},{{255UL,0UL,1UL,254UL,0x23L,246UL},{0x9FL,0xACL,0xEAL,0x9BL,0UL,0x68L},{0xEAL,0xE1L,0x9BL,0x9BL,0xE1L,0xEAL},{0x9FL,0x23L,0x31L,254UL,1UL,1UL}},{{255UL,0UL,0xEAL,246UL,254UL,1UL},{255UL,0xE1L,246UL,254UL,1UL,255UL},{0x9FL,1UL,249UL,0x9BL,0x23L,1UL},{0xEAL,254UL,0xA2L,0x9BL,254UL,249UL}},{{0x9FL,1UL,0x9BL,254UL,0x18L,0x9FL},{255UL,0x23L,249UL,246UL,0UL,246UL},{255UL,254UL,255UL,254UL,0UL,1UL},{0x9FL,0x18L,254UL,0x9BL,1UL,0x9FL}},{{0xEAL,0UL,0x31L,0x9BL,0UL,254UL},{0x9FL,0UL,0xA2L,254UL,0xACL,0x68L},{255UL,1UL,254UL,246UL,0xE1L,255UL},{255UL,0UL,1UL,254UL,0x23L,246UL}},{{0x9FL,0xACL,0xEAL,0x9BL,0UL,0x68L},{0xEAL,0xE1L,0x9BL,0x9BL,0xE1L,0xEAL},{0x9FL,0x23L,0x31L,254UL,1UL,1UL},{255UL,0UL,0xEAL,246UL,254UL,1UL}},{{255UL,0xE1L,246UL,254UL,1UL,255UL},{0x9FL,1UL,249UL,0x9BL,0x23L,1UL},{0xEAL,254UL,0xA2L,0x9BL,254UL,249UL},{0x9FL,1UL,0x9BL,254UL,0x18L,0x9FL}},{{255UL,0x23L,249UL,246UL,0UL,246UL},{255UL,254UL,255UL,254UL,0UL,1UL},{0x9FL,0x18L,254UL,0x9BL,1UL,0x9FL},{0xEAL,0UL,0x31L,0x9BL,0UL,254UL}}};
static uint8_t g_3469 = 0xEDL;
static uint32_t *g_3483 = &g_537;
static uint32_t **g_3482 = &g_3483;
static int16_t g_3497 = (-1L);
static struct S1 g_3522 = {0x73E5BD4FF1EB5897LL};
static struct S1 * volatile g_3525 = &g_3522;/* VOLATILE GLOBAL g_3525 */
static volatile struct S1 g_3527[6] = {{1L},{-4L},{1L},{1L},{-4L},{1L}};
static volatile struct S1 * volatile g_3526[3] = {&g_3527[2],&g_3527[2],&g_3527[2]};
static int32_t ** volatile g_3603 = &g_26[4];/* VOLATILE GLOBAL g_3603 */
static struct S1 * volatile g_3606 = &g_3522;/* VOLATILE GLOBAL g_3606 */
static struct S1 *g_3608[5] = {&g_909[1],&g_909[1],&g_909[1],&g_909[1],&g_909[1]};
static uint64_t g_3628 = 18446744073709551615UL;
static struct S0 ***g_3637 = &g_767;
static struct S0 ****g_3636 = &g_3637;
static uint32_t * const ***g_3662 = &g_3101;
static volatile uint16_t g_3692[4] = {1UL,1UL,1UL,1UL};
static volatile int32_t g_3695[4] = {0x1EB5BBFCL,0x1EB5BBFCL,0x1EB5BBFCL,0x1EB5BBFCL};
static int8_t g_3736 = 0xA4L;
static const volatile struct S0 g_3739 = {-6L,0xBFL,1UL,11,0xB33BL};/* VOLATILE GLOBAL g_3739 */
static uint8_t ***g_3748[7] = {&g_1111,&g_1111,&g_1111,&g_1111,&g_1111,&g_1111,&g_1111};
static uint8_t ****g_3747 = &g_3748[4];
static int32_t ** const ***g_3769 = (void*)0;
static int32_t *g_3775 = &g_519;
static struct S0 g_3776[7][6] = {{{0x69164FD3L,-1L,251UL,13,0x31EFL},{-1L,-5L,3UL,6,0x35CDL},{0xB36EF690L,0x69L,0xF7L,13,1UL},{0x69164FD3L,-1L,251UL,13,0x31EFL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{0x3A9C7157L,0xC2L,1UL,-4,1UL}},{{0x7D0F45B1L,8L,5UL,-7,2UL},{-1L,-5L,3UL,6,0x35CDL},{-1L,-5L,3UL,6,0x35CDL},{0x7D0F45B1L,8L,5UL,-7,2UL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{0xB36EF690L,0x69L,0xF7L,13,1UL}},{{0x19F42C59L,0xB1L,1UL,-1,0x784EL},{-1L,-5L,3UL,6,0x35CDL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{0x19F42C59L,0xB1L,1UL,-1,0x784EL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{-1L,-5L,3UL,6,0x35CDL}},{{0x69164FD3L,-1L,251UL,13,0x31EFL},{-1L,-5L,3UL,6,0x35CDL},{0xB36EF690L,0x69L,0xF7L,13,1UL},{0x69164FD3L,-1L,251UL,13,0x31EFL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{0x3A9C7157L,0xC2L,1UL,-4,1UL}},{{0x7D0F45B1L,8L,5UL,-7,2UL},{-1L,-5L,3UL,6,0x35CDL},{-1L,-5L,3UL,6,0x35CDL},{0x7D0F45B1L,8L,5UL,-7,2UL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{0xB36EF690L,0x69L,0xF7L,13,1UL}},{{0x19F42C59L,0xB1L,1UL,-1,0x784EL},{-1L,-5L,3UL,6,0x35CDL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{0x19F42C59L,0xB1L,1UL,-1,0x784EL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{-1L,-5L,3UL,6,0x35CDL}},{{0x69164FD3L,-1L,251UL,13,0x31EFL},{-1L,-5L,3UL,6,0x35CDL},{0xB36EF690L,0x69L,0xF7L,13,1UL},{0x69164FD3L,-1L,251UL,13,0x31EFL},{0x3A9C7157L,0xC2L,1UL,-4,1UL},{0x3A9C7157L,0xC2L,1UL,-4,1UL}}};
static int32_t * const *g_3896 = &g_26[4];
static int32_t * const **g_3895 = &g_3896;
static int32_t * const ***g_3894 = &g_3895;
static volatile struct S0 g_3945[3][5][1] = {{{{0x581CFF5BL,0x05L,254UL,10,65527UL}},{{0x581CFF5BL,0x05L,254UL,10,65527UL}},{{7L,7L,9UL,-1,65527UL}},{{1L,0xA3L,255UL,12,0x8760L}},{{7L,7L,9UL,-1,65527UL}}},{{{0x581CFF5BL,0x05L,254UL,10,65527UL}},{{0x581CFF5BL,0x05L,254UL,10,65527UL}},{{7L,7L,9UL,-1,65527UL}},{{1L,0xA3L,255UL,12,0x8760L}},{{7L,7L,9UL,-1,65527UL}}},{{{0x581CFF5BL,0x05L,254UL,10,65527UL}},{{0x581CFF5BL,0x05L,254UL,10,65527UL}},{{7L,7L,9UL,-1,65527UL}},{{1L,0xA3L,255UL,12,0x8760L}},{{7L,7L,9UL,-1,65527UL}}}};
static struct S0 g_3973 = {9L,-1L,251UL,8,0x83C4L};/* VOLATILE GLOBAL g_3973 */
static struct S0 g_3975 = {3L,0x46L,0xB0L,3,0x3449L};/* VOLATILE GLOBAL g_3975 */
static int64_t g_3980 = 0xF76726C388F8C390LL;
static volatile int32_t g_4048 = 3L;/* VOLATILE GLOBAL g_4048 */
static int32_t ** const  volatile g_4055 = &g_3775;/* VOLATILE GLOBAL g_4055 */
static uint32_t g_4143 = 2UL;
static const struct S0 g_4157 = {0x1F13FAA4L,0L,1UL,6,0x67E7L};/* VOLATILE GLOBAL g_4157 */
static int64_t ***g_4162 = &g_2834;
static int64_t *** const *g_4161 = &g_4162;
static volatile struct S0 * volatile g_4205 = (void*)0;/* VOLATILE GLOBAL g_4205 */
static const struct S0 *g_4231 = &g_3975;
static const struct S0 **g_4230 = &g_4231;
static struct S1 *** const g_4240 = &g_2170;
static struct S1 *** const *g_4239[1] = {&g_4240};
static int32_t **g_4272 = (void*)0;
static int32_t **g_4273 = &g_26[4];
static int32_t g_4303 = 0x29A77CACL;
static int32_t * const g_4302 = &g_4303;
static int32_t * const *g_4301[8][10][3] = {{{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,(void*)0},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,(void*)0},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,(void*)0},{&g_4302,&g_4302,&g_4302}},{{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,(void*)0},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,(void*)0},{&g_4302,&g_4302,&g_4302},{(void*)0,&g_4302,&g_4302},{&g_4302,&g_4302,(void*)0},{(void*)0,&g_4302,&g_4302}},{{(void*)0,&g_4302,&g_4302},{(void*)0,&g_4302,&g_4302},{&g_4302,&g_4302,(void*)0},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{(void*)0,&g_4302,&g_4302},{(void*)0,&g_4302,&g_4302},{(void*)0,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302}},{{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,&g_4302},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302}},{{&g_4302,&g_4302,&g_4302},{(void*)0,&g_4302,&g_4302},{(void*)0,&g_4302,(void*)0},{&g_4302,&g_4302,(void*)0},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,(void*)0},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,&g_4302}},{{(void*)0,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{(void*)0,(void*)0,&g_4302},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,&g_4302},{(void*)0,&g_4302,&g_4302},{&g_4302,&g_4302,(void*)0},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,(void*)0}},{{&g_4302,&g_4302,(void*)0},{(void*)0,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,(void*)0},{&g_4302,&g_4302,&g_4302}},{{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,&g_4302,&g_4302},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,(void*)0},{&g_4302,(void*)0,(void*)0},{&g_4302,(void*)0,&g_4302},{&g_4302,&g_4302,&g_4302}}};
static int32_t * const ** const g_4300 = &g_4301[0][9][2];
static int32_t * const ** const *g_4299 = &g_4300;
static int32_t * const ** const **g_4298 = &g_4299;
static uint32_t g_4307 = 0x3676B3B2L;
static uint64_t g_4324 = 18446744073709551612UL;
static struct S1 *g_4364 = (void*)0;
static struct S1 ** const g_4363 = &g_4364;
static struct S1 ** const *g_4362 = &g_4363;
static struct S1 ** const **g_4361 = &g_4362;
static struct S1 ** const ***g_4360 = &g_4361;


/* --- FORWARD DECLARATIONS --- */
static uint8_t  func_1(void);
static uint32_t  func_8(int32_t  p_9);
static int32_t * func_13(uint64_t  p_14, const int32_t * p_15, int32_t * p_16, const int32_t * p_17);
static uint32_t  func_18(int8_t  p_19, uint32_t  p_20, int32_t  p_21, int8_t  p_22);
static uint32_t  func_24(int32_t * p_25);
static uint8_t  func_46(int32_t  p_47);
static struct S1  func_53(int32_t  p_54);
static const int32_t * func_57(int64_t  p_58, int32_t * p_59, int64_t  p_60, uint8_t  p_61);
static uint32_t  func_64(int16_t  p_65);
static uint32_t * func_68(uint32_t  p_69, uint32_t * p_70, uint32_t  p_71, struct S1  p_72);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_417 g_90
 * writes:
 */
static uint8_t  func_1(void)
{ /* block id: 0 */
    int8_t l_3461[9][3] = {{4L,0xC4L,4L},{4L,0xC4L,4L},{4L,0xC4L,4L},{4L,0xC4L,4L},{4L,0xC4L,4L},{4L,0xC4L,4L},{4L,0xC4L,4L},{4L,0xC4L,4L},{4L,0xC4L,4L}};
    uint8_t *l_3466 = &g_3467[2][0][0];
    uint8_t *l_3468 = &g_3469;
    int32_t l_3470 = (-1L);
    uint64_t *l_3471 = &g_968[1][2][0];
    int32_t *l_3472[1];
    uint64_t l_3477 = 18446744073709551607UL;
    uint32_t *l_3481[8][8][3] = {{{&g_2991,&g_2991,&g_537},{&g_537,&g_339[0],&g_2991},{(void*)0,(void*)0,&g_187},{&g_2991,&g_537,&g_2991},{&g_187,(void*)0,(void*)0},{&g_2991,&g_339[0],&g_537},{&g_537,&g_2991,&g_2991},{(void*)0,&g_339[0],&g_2991}},{{&g_537,&g_339[0],&g_339[0]},{&g_2991,&g_537,&g_2991},{&g_187,&g_339[0],&g_339[0]},{(void*)0,&g_339[0],&g_537},{&g_339[0],&g_537,&g_187},{&g_339[0],&g_2991,&g_187},{&g_339[0],&g_537,&g_339[0]},{&g_187,&g_2991,&g_339[0]}},{{&g_187,&g_537,&g_339[0]},{&g_537,&g_339[0],(void*)0},{&g_339[0],(void*)0,&g_339[0]},{&g_537,(void*)0,(void*)0},{&g_187,&g_339[0],&g_537},{&g_187,&g_339[0],&g_187},{&g_339[0],(void*)0,&g_537},{&g_339[0],&g_2991,(void*)0}},{{&g_339[0],&g_187,&g_339[0]},{(void*)0,&g_187,(void*)0},{&g_339[0],&g_187,&g_339[0]},{(void*)0,&g_2991,&g_339[0]},{&g_537,(void*)0,&g_339[0]},{&g_187,&g_339[0],&g_187},{&g_537,&g_339[0],&g_187},{(void*)0,(void*)0,&g_537}},{{&g_339[0],(void*)0,&g_339[0]},{(void*)0,&g_339[0],&g_537},{&g_339[0],&g_537,&g_187},{&g_339[0],&g_2991,&g_187},{&g_339[0],&g_537,&g_339[0]},{&g_187,&g_2991,&g_339[0]},{&g_187,&g_537,&g_339[0]},{&g_537,&g_339[0],(void*)0}},{{&g_339[0],(void*)0,&g_339[0]},{&g_537,(void*)0,(void*)0},{&g_187,&g_339[0],&g_537},{&g_187,&g_339[0],&g_187},{&g_339[0],(void*)0,&g_537},{&g_339[0],&g_2991,(void*)0},{&g_339[0],&g_187,&g_339[0]},{(void*)0,&g_187,(void*)0}},{{&g_339[0],&g_187,&g_339[0]},{(void*)0,&g_2991,&g_339[0]},{&g_537,(void*)0,&g_339[0]},{&g_187,&g_339[0],&g_187},{&g_537,&g_339[0],&g_187},{(void*)0,(void*)0,&g_537},{&g_339[0],(void*)0,&g_339[0]},{(void*)0,&g_339[0],&g_537}},{{&g_339[0],&g_537,&g_187},{&g_339[0],&g_2991,&g_187},{&g_339[0],&g_537,&g_339[0]},{&g_187,&g_2991,&g_339[0]},{&g_187,&g_537,&g_339[0]},{&g_537,&g_339[0],(void*)0},{&g_339[0],(void*)0,&g_339[0]},{&g_537,(void*)0,(void*)0}}};
    uint32_t **l_3480 = &l_3481[2][4][2];
    struct S1 l_3492 = {-8L};
    int32_t l_3498 = 0x2D0C6876L;
    uint32_t * const **l_3511[4][3];
    int16_t l_3514 = 0xA98CL;
    uint32_t * const **l_3520[3][2] = {{&g_190,&g_190},{&g_190,&g_190},{&g_190,&g_190}};
    int16_t l_3542 = (-1L);
    int64_t **l_3564 = &g_369;
    int32_t l_3581 = (-1L);
    int32_t l_3600[6];
    uint32_t ****l_3613 = &g_1833;
    int32_t l_3652 = (-1L);
    int8_t l_3656 = (-1L);
    uint32_t l_3698 = 0xE19C635BL;
    int16_t l_3705[5];
    uint8_t l_3706 = 0x7FL;
    const uint8_t l_3740[6][6][3] = {{{1UL,246UL,0x20L},{1UL,7UL,251UL},{1UL,0x97L,1UL},{1UL,246UL,0x20L},{1UL,7UL,251UL},{1UL,0x97L,1UL}},{{1UL,246UL,0x20L},{1UL,7UL,251UL},{1UL,0x97L,1UL},{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL}},{{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL},{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL}},{{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL},{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL}},{{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL},{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL}},{{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL},{1UL,1UL,0xE0L},{1UL,251UL,252UL},{1UL,0x20L,1UL}}};
    uint16_t l_3752 = 0x9066L;
    uint64_t l_3843 = 18446744073709551615UL;
    int8_t ***l_3858 = &g_3000[0];
    const uint32_t l_3899 = 0x1CA4BC04L;
    uint16_t l_3950 = 65535UL;
    int32_t l_3968 = 0x77865CC7L;
    int32_t l_3991 = (-2L);
    int8_t l_4106[9][2] = {{1L,1L},{1L,0L},{1L,1L},{1L,0L},{1L,1L},{1L,0L},{1L,1L},{1L,0L},{1L,1L}};
    uint16_t l_4110 = 0x1725L;
    uint32_t l_4122 = 0x7A499FE6L;
    int16_t ***l_4226 = &g_3321;
    uint32_t l_4244 = 0UL;
    int32_t l_4276 = 0xE196B1DAL;
    int32_t * const **l_4297 = &g_1138;
    int32_t * const ** const *l_4296 = &l_4297;
    int32_t * const ** const **l_4295[1][4][5];
    uint64_t l_4336 = 18446744073709551609UL;
    struct S1 ** const ***l_4359 = (void*)0;
    int i, j, k;
    for (i = 0; i < 1; i++)
        l_3472[i] = &g_319;
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 3; j++)
            l_3511[i][j] = &g_190;
    }
    for (i = 0; i < 6; i++)
        l_3600[i] = (-7L);
    for (i = 0; i < 5; i++)
        l_3705[i] = 0x25BFL;
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 4; j++)
        {
            for (k = 0; k < 5; k++)
                l_4295[i][j][k] = &l_4296;
        }
    }
    return (*g_417);
}


/* ------------------------------------------ */
/* 
 * reads : g_10 g_2901 g_312 g_26 g_3100 g_519 g_27 g_1046 g_191 g_187 g_1469 g_756 g_967 g_2834 g_2351.f0 g_2170 g_528 g_3258 g_1182 g_209.f0 g_909.f0 g_565 g_566 g_1109 g_1110 g_1111 g_1023 g_1024 g_247.f4 g_1233.f0 g_2924.f0 g_416 g_417 g_90 g_1112 g_3299 g_3316 g_3319 g_3320 g_3321 g_1274 g_87 g_1232 g_3169.f0 g_3101 g_190 g_3328.f0 g_52 g_56 g_115 g_185 g_210 g_247 g_119 g_268 g_269 g_277 g_216 g_319 g_209 g_322 g_369 g_378 g_400 g_339 g_423 g_428 g_317 g_535 g_507 g_343 g_609 g_613 g_516.f4 g_516.f2 g_652 g_516.f0 g_709 g_767 g_776 g_612 g_854 g_857 g_766.f4 g_909 g_766.f0 g_1311 g_1330 g_1408 g_1425 g_537 g_1513 g_766.f2 g_1570 g_715 g_1498 g_1047 g_1614 g_1652 g_1660 g_1601 g_1677 g_1710 g_1672 g_403 g_404 g_1075 g_1813 g_1833 g_710 g_711 g_1213 g_777 g_766.f3 g_968 g_1956 g_2051 g_2055 g_1676 g_1651 g_2075 g_2084 g_2098 g_1834 g_1231 g_2151 g_2156 g_768 g_2208 g_666 g_516 g_2391
 * writes: g_10 g_27 g_3101 g_519 g_612 g_187 g_26 g_756 g_967 g_1182 g_2351.f0 g_528 g_1672 g_968 g_3320 g_3321 g_3169.f0 g_3328.f0 g_52 g_56 g_87 g_90 g_190 g_209 g_312 g_119 g_316 g_319 g_339 g_343 g_269 g_537 g_565 g_666 g_566 g_767 g_854 g_777 g_768 g_1498 g_652 g_317 g_423 g_1213 g_1651 g_1601 g_1676 g_1112 g_1652.f0 g_1570 g_1858.f0 g_2051 g_1274 g_2391
 */
static uint32_t  func_8(int32_t  p_9)
{ /* block id: 1 */
    struct S0 **l_2850 = &g_1232;
    struct S0 ** const *l_2849 = &l_2850;
    struct S0 ** const **l_2848 = &l_2849;
    int32_t l_2854[7] = {1L,1L,1L,1L,1L,1L,1L};
    uint8_t l_2980[6] = {252UL,252UL,252UL,252UL,252UL,252UL};
    const int8_t **** const l_2996 = (void*)0;
    const int8_t **** const *l_2995 = &l_2996;
    int32_t l_3047 = 0x1BC0B915L;
    int8_t l_3080[5] = {0L,0L,0L,0L,0L};
    uint32_t l_3134 = 0UL;
    int64_t ** const *l_3135 = &g_2834;
    int64_t *l_3139 = (void*)0;
    int64_t ** const l_3138 = &l_3139;
    int64_t ** const *l_3137 = &l_3138;
    uint8_t ***l_3211 = (void*)0;
    uint16_t * const *l_3233 = (void*)0;
    uint16_t * const * const *l_3232 = &l_3233;
    struct S1 l_3247 = {0xCEC242F2879C2D49LL};
    uint32_t *l_3370 = &g_187;
    uint16_t *l_3441 = (void*)0;
    uint16_t ** const l_3440 = &l_3441;
    uint16_t ** const *l_3439 = &l_3440;
    uint16_t ** const ** const l_3438 = &l_3439;
    const uint32_t ***l_3449 = &g_710;
    const uint32_t ****l_3448 = &l_3449;
    int8_t l_3456 = 0xDFL;
    int32_t *l_3457 = (void*)0;
    int32_t *l_3458 = &g_2391;
    int i;
    for (g_10 = 18; (g_10 < 55); g_10++)
    { /* block id: 4 */
        uint16_t l_23 = 7UL;
        int64_t *l_2851 = &g_2852[2][5];
        int32_t l_2853 = 0xE9177491L;
    }
    if (p_9)
    { /* block id: 1305 */
        int32_t *****l_2905 = &g_2902;
        struct S0 * const *l_2913 = &g_1232;
        struct S0 * const **l_2912 = &l_2913;
        uint32_t **l_2926 = (void*)0;
        uint32_t ***l_2925 = &l_2926;
        int32_t l_2928 = 2L;
        struct S0 ***l_2929 = &l_2850;
        struct S1 ***l_2938 = &g_2170;
        const int64_t l_2964 = 1L;
        int32_t **l_3013 = (void*)0;
        uint64_t l_3014 = 0x3431914612CDA8B7LL;
        uint16_t l_3046 = 9UL;
        int32_t l_3124[8][10] = {{0L,0L,0L,0L,0L,(-3L),(-3L),0x6705644DL,0L,6L},{0x3D25BB60L,4L,0L,(-3L),0L,0xDD68240DL,0L,(-3L),0L,4L},{1L,0x2B8BCCE9L,(-3L),0L,0x8534FFB4L,0xA64FB97BL,(-3L),0L,0L,0L},{0x2B8BCCE9L,6L,0xA64FB97BL,0xDD68240DL,0xDD68240DL,0xA64FB97BL,6L,0x2B8BCCE9L,0L,(-3L)},{1L,(-3L),(-3L),0x2B8BCCE9L,0x6F72D295L,0xDD68240DL,0x6705644DL,(-3L),0x6705644DL,0xDD68240DL},{0x3D25BB60L,0x6F72D295L,(-3L),0x6F72D295L,0x3D25BB60L,(-3L),0L,0x2B8BCCE9L,6L,0xA64FB97BL},{0L,0x8534FFB4L,0xA64FB97BL,(-3L),0L,0L,0L,0L,(-3L),0xA64FB97BL},{(-3L),(-3L),6L,0x8534FFB4L,4L,0L,0xDD68240DL,0x2B8BCCE9L,0L,0x3D25BB60L}};
        uint32_t l_3126 = 4294967290UL;
        uint64_t l_3174 = 9UL;
        int8_t *l_3225 = &l_3080[4];
        int64_t l_3291 = (-3L);
        int16_t ***l_3324 = &g_3321;
        int i, j;
        if (p_9)
        { /* block id: 1306 */
            int32_t *****l_2904 = &g_2902;
            int8_t l_2914 = 0xBDL;
            int32_t l_2977 = 0xE8A45F0AL;
            const int32_t **l_3012[4];
            uint16_t ** const l_3048 = (void*)0;
            int32_t *l_3102 = &g_519;
            int32_t *l_3103 = (void*)0;
            int32_t *l_3104 = &g_652[2][4];
            int32_t *l_3105 = &l_2854[4];
            int32_t *l_3106 = &g_652[2][4];
            int32_t *l_3107 = &l_2854[2];
            int32_t *l_3108 = &g_652[2][4];
            int32_t *l_3109 = &l_3047;
            int32_t *l_3110 = &g_519;
            int32_t *l_3111 = &g_2391;
            int32_t *l_3112 = &g_652[2][4];
            int32_t *l_3113 = &l_2854[1];
            int32_t l_3114 = 0x036DF649L;
            int32_t *l_3115 = (void*)0;
            int32_t *l_3116 = &g_1601;
            int32_t *l_3117 = &g_652[2][4];
            int32_t *l_3118 = &g_1601;
            int32_t *l_3119 = &l_2928;
            int32_t *l_3120 = &l_2854[4];
            int32_t *l_3121 = &g_319;
            int32_t *l_3122 = &g_1601;
            int32_t *l_3123[3][2][2] = {{{&g_2391,&g_2391},{&g_2391,&g_2391}},{{&g_2391,&g_2391},{&g_2391,&g_2391}},{{&g_2391,&g_2391},{&g_2391,&g_2391}}};
            int16_t l_3125[6] = {8L,3L,3L,8L,3L,3L};
            int i, j, k;
            for (i = 0; i < 4; i++)
                l_3012[i] = (void*)0;
            (**g_312) = ((l_2904 = g_2901[0]) == l_2905);
            for (p_9 = 0; (p_9 == (-21)); p_9--)
            { /* block id: 1311 */
                uint32_t l_2919 = 1UL;
                uint16_t *l_2986 = &g_119;
                uint8_t *l_2990[2][4] = {{(void*)0,&l_2980[4],&l_2980[4],(void*)0},{&l_2980[4],(void*)0,&l_2980[4],&l_2980[4]}};
                uint64_t *l_2994[7] = {&g_968[1][5][6],&g_968[1][5][6],&g_968[1][5][6],&g_968[1][5][6],&g_968[1][5][6],&g_968[1][5][6],&g_968[1][5][6]};
                int8_t ****l_3002 = &g_2999;
                uint64_t l_3036 = 0x31E8D5ADA764403BLL;
                int32_t l_3069 = 2L;
                int32_t l_3078 = 0L;
                int8_t **l_3097[4][4][9] = {{{&g_1498,&g_1498,(void*)0,&g_2589,&g_1498,(void*)0,&g_2589,&g_2589,(void*)0},{(void*)0,&g_2589,&g_2589,&g_2589,(void*)0,&g_1498,&g_2589,(void*)0,&g_2589},{&g_2589,&g_1498,&g_1498,(void*)0,&g_2589,&g_1498,&g_1498,&g_1498,&g_1498},{&g_2589,&g_2589,(void*)0,(void*)0,&g_2589,&g_1498,&g_2589,(void*)0,(void*)0}},{{&g_1498,(void*)0,&g_1498,(void*)0,&g_1498,(void*)0,&g_1498,&g_1498,&g_1498},{(void*)0,&g_2589,&g_1498,(void*)0,&g_1498,&g_1498,&g_2589,&g_2589,(void*)0},{&g_1498,&g_1498,&g_1498,&g_1498,(void*)0,&g_2589,&g_2589,&g_1498,&g_2589},{(void*)0,(void*)0,&g_1498,(void*)0,(void*)0,(void*)0,&g_1498,(void*)0,(void*)0}},{{&g_1498,&g_1498,(void*)0,&g_1498,&g_2589,&g_2589,&g_2589,&g_1498,&g_1498},{(void*)0,(void*)0,&g_1498,(void*)0,&g_2589,(void*)0,&g_1498,(void*)0,(void*)0},{&g_1498,&g_2589,&g_2589,&g_2589,&g_1498,&g_1498,&g_1498,&g_2589,&g_2589},{(void*)0,(void*)0,&g_1498,&g_2589,(void*)0,&g_2589,&g_1498,(void*)0,&g_1498}},{{&g_1498,&g_1498,(void*)0,&g_1498,&g_2589,&g_1498,&g_1498,&g_2589,&g_2589},{(void*)0,(void*)0,&g_1498,&g_2589,&g_2589,&g_1498,(void*)0,&g_1498,&g_2589},{&g_1498,&g_2589,&g_2589,&g_1498,(void*)0,(void*)0,&g_1498,&g_1498,&g_2589},{&g_2589,&g_1498,&g_1498,&g_2589,&g_1498,&g_1498,&g_2589,&g_2589,&g_1498}}};
                int i, j, k;
            }
            (*g_3100) = &g_190;
            l_3126++;
        }
        else
        { /* block id: 1387 */
            const int32_t *l_3129 = &g_2391;
            for (g_519 = 0; (g_519 <= 8); g_519 += 1)
            { /* block id: 1390 */
                int i;
                (**g_312) &= p_9;
            }
            (*g_312) = func_13(p_9, l_3129, (*g_1046), (g_612[3][0][3] = (void*)0));
        }
        for (g_756 = 0; (g_756 <= 0); g_756 += 1)
        { /* block id: 1398 */
            int64_t ** const **l_3136 = &l_3135;
            uint16_t *l_3142 = &g_119;
            int32_t l_3208 = 4L;
            int32_t ****l_3218 = &g_566;
            int32_t ****l_3220 = &g_566;
            int16_t l_3244 = 0xD03EL;
            int i;
        }
        for (g_967 = (-29); (g_967 == (-23)); g_967 = safe_add_func_int64_t_s_s(g_967, 2))
        { /* block id: 1469 */
            int64_t *l_3254 = &g_209.f0;
            int32_t l_3261 = 0x00AC44BCL;
            uint8_t **l_3284 = &g_1112;
            int64_t l_3285 = 0xE5015806B8ED7ED2LL;
            struct S0 *l_3327 = &g_3328;
            int32_t l_3332 = 0x576ABCA9L;
            int32_t l_3333 = 0L;
            int32_t l_3334 = 0x90425207L;
            int32_t l_3335 = (-1L);
            int32_t l_3336 = 8L;
            int32_t l_3337[5];
            uint8_t l_3338 = 0xDFL;
            int32_t *l_3343 = &l_3261;
            uint64_t l_3389 = 0x1B6E6D82236FB591LL;
            int i;
            for (i = 0; i < 5; i++)
                l_3337[i] = (-1L);
            if ((safe_lshift_func_uint32_t_u_u((safe_rshift_func_uint32_t_u_u(0x7BDF931CL, 2)), (((**l_3135) = l_3254) == ((*l_3138) = l_3254)))))
            { /* block id: 1472 */
                int64_t l_3255[1];
                uint8_t *l_3292 = &l_2980[2];
                int32_t l_3304[2][9][4] = {{{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L}},{{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L},{0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L,0x7B0C8D79L}}};
                int32_t *l_3329 = (void*)0;
                int32_t *l_3330 = &l_3261;
                int32_t *l_3331[5][7][7] = {{{&l_3261,&g_652[0][8],&g_2391,&l_2854[1],&l_3124[0][5],&l_2928,&l_3304[0][3][1]},{&l_2854[1],&g_319,&g_1601,&l_3304[1][5][0],&l_3124[5][4],&l_2854[0],&l_2854[0]},{&g_2391,(void*)0,(void*)0,&g_27,&g_652[5][1],&l_2854[1],&l_3304[1][5][0]},{&l_2854[0],&l_2854[1],&g_1601,&g_519,&l_2854[2],&l_3124[2][7],&l_3047},{&l_3047,&l_2928,(void*)0,&l_3124[0][4],(void*)0,&l_2928,&g_652[2][4]},{&l_3261,&g_652[0][8],&l_3124[0][4],&g_319,&l_3047,&g_319,&g_1601},{&l_3047,&l_2854[2],&g_519,&g_319,&l_3124[5][4],&l_2854[1],&g_319}},{{&l_2854[1],&l_3304[0][4][0],&g_27,&l_3124[0][4],&l_3124[3][6],&g_652[0][8],&g_319},{(void*)0,&g_519,&g_319,&g_519,&l_3304[0][4][0],&l_3261,&l_3124[5][4]},{&l_3124[5][4],&l_3047,&l_3047,&g_27,&l_2854[1],&g_27,&l_3124[2][2]},{&l_3124[0][5],&g_319,&g_27,&l_3304[1][5][0],&l_3124[5][4],&g_652[2][4],&g_319},{&l_3304[1][5][0],&l_3047,&l_3261,&l_2854[1],(void*)0,&l_2854[1],&l_3304[0][2][0]},{&g_319,&g_652[5][1],&l_3261,&l_3261,&g_652[5][1],&g_319,&l_3304[0][4][0]},{&g_652[7][1],&g_1601,&g_652[0][8],&g_1601,&g_319,&g_519,&l_2854[2]}},{{&l_3304[1][5][0],&l_3124[2][2],&l_2854[2],&g_27,&g_652[8][8],&l_3261,&g_652[2][4]},{&l_3124[0][5],&g_1601,&l_3124[5][3],&l_2854[1],&l_3047,&l_3047,&g_1601},{&l_3304[1][1][1],&g_652[5][1],&l_3304[1][5][0],&g_2391,(void*)0,&l_2854[0],&l_3124[5][4]},{&l_3304[1][5][0],&l_3047,&g_519,&g_2391,&l_2928,&g_519,&l_3304[0][2][0]},{&g_27,&g_319,&l_3261,&g_27,&g_27,(void*)0,&g_519},{(void*)0,&l_3047,&g_519,&l_3304[1][6][2],&g_519,&g_1601,&l_3304[0][3][1]},{&g_652[8][8],&g_1601,&g_2391,&l_2854[1],&l_2854[1],(void*)0,&l_3261}},{{&l_2854[3],&g_319,&g_27,&g_519,&l_3261,&l_3124[0][4],&l_3304[1][5][0]},{&l_2854[1],&l_2928,&l_3047,&l_3124[2][2],(void*)0,&g_519,&l_3304[1][5][0]},{&g_27,&l_3261,&g_319,&g_27,&l_3304[1][5][0],&g_27,&l_3261},{&g_652[0][8],&g_27,&g_519,&g_319,&l_3304[1][1][1],&g_319,&l_3304[0][3][1]},{&g_519,&l_3047,&l_3304[0][2][0],&g_519,(void*)0,&l_3047,&g_519},{&g_2391,&l_3047,(void*)0,&l_3304[1][5][0],&g_519,&g_27,&l_3304[0][2][0]},{&l_2854[1],&g_27,&g_652[2][4],(void*)0,&l_2928,&l_3261,&l_2928}},{{(void*)0,&l_3261,&l_2854[0],&l_3261,&l_3047,&l_3261,&l_2854[0]},{(void*)0,(void*)0,&l_3047,&l_2854[2],&g_652[7][1],&g_652[0][8],(void*)0},{&l_3047,&g_652[7][1],&l_2854[1],&l_2854[0],&l_3047,&l_2854[2],&g_519},{&g_652[2][4],&l_3261,&l_3304[0][1][0],&l_3304[1][5][0],&g_652[7][1],&l_3124[5][3],&g_319},{&g_519,&l_3304[0][2][0],&l_3047,&g_1601,&l_3047,&l_3304[1][5][0],(void*)0},{&l_3124[0][4],&g_319,&g_1601,&g_652[2][4],&l_2928,&g_519,&l_3047},{&l_2854[1],&g_652[8][8],&g_652[7][1],&l_3124[3][6],&g_519,&g_652[0][8],&l_3304[1][5][0]}}};
                int i, j, k;
                for (i = 0; i < 1; i++)
                    l_3255[i] = 0x000D8FF95EAE8FEALL;
                if ((l_3255[0] = p_9))
                { /* block id: 1474 */
                    int8_t l_3266 = 0L;
                    uint32_t l_3286 = 4294967295UL;
                    for (g_2351.f0 = (-11); (g_2351.f0 < 24); ++g_2351.f0)
                    { /* block id: 1477 */
                        int32_t ***l_3265[9][7][4] = {{{&g_312,&l_3013,(void*)0,&l_3013},{&l_3013,&l_3013,(void*)0,(void*)0},{&g_312,&g_312,&l_3013,(void*)0},{&g_312,&l_3013,&g_312,&l_3013},{&g_312,&l_3013,&l_3013,&g_312},{&g_312,&l_3013,(void*)0,&l_3013},{&l_3013,&l_3013,(void*)0,(void*)0}},{{&g_312,&g_312,&l_3013,(void*)0},{&g_312,&l_3013,&g_312,&l_3013},{&g_312,&l_3013,&l_3013,&g_312},{&g_312,&l_3013,(void*)0,&l_3013},{&l_3013,&l_3013,(void*)0,(void*)0},{&g_312,&g_312,&l_3013,(void*)0},{&g_312,&l_3013,&g_312,&l_3013}},{{&g_312,&l_3013,&l_3013,&g_312},{&g_312,&l_3013,(void*)0,&l_3013},{&l_3013,&l_3013,(void*)0,(void*)0},{&g_312,&g_312,&l_3013,&l_3013},{(void*)0,&g_312,(void*)0,&g_312},{(void*)0,&g_312,&g_312,(void*)0},{&l_3013,&g_312,&l_3013,&g_312}},{{&g_312,&g_312,&l_3013,&l_3013},{&l_3013,&l_3013,&g_312,&l_3013},{(void*)0,&g_312,(void*)0,&g_312},{(void*)0,&g_312,&g_312,(void*)0},{&l_3013,&g_312,&l_3013,&g_312},{&g_312,&g_312,&l_3013,&l_3013},{&l_3013,&l_3013,&g_312,&l_3013}},{{(void*)0,&g_312,(void*)0,&g_312},{(void*)0,&g_312,&g_312,(void*)0},{&l_3013,&g_312,&l_3013,&g_312},{&g_312,&g_312,&l_3013,&l_3013},{&l_3013,&l_3013,&g_312,&l_3013},{(void*)0,&g_312,(void*)0,&g_312},{(void*)0,&g_312,&g_312,(void*)0}},{{&l_3013,&g_312,&l_3013,&g_312},{&g_312,&g_312,&l_3013,&l_3013},{&l_3013,&l_3013,&g_312,&l_3013},{(void*)0,&g_312,(void*)0,&g_312},{(void*)0,&g_312,&g_312,(void*)0},{&l_3013,&g_312,&l_3013,&g_312},{&g_312,&g_312,&l_3013,&l_3013}},{{&l_3013,&l_3013,&g_312,&l_3013},{(void*)0,&g_312,(void*)0,&g_312},{(void*)0,&g_312,&g_312,(void*)0},{&l_3013,&g_312,&l_3013,&g_312},{&g_312,&g_312,&l_3013,&l_3013},{&l_3013,&l_3013,&g_312,&l_3013},{(void*)0,&g_312,(void*)0,&g_312}},{{(void*)0,&g_312,&g_312,(void*)0},{&l_3013,&g_312,&l_3013,&g_312},{&g_312,&g_312,&l_3013,&l_3013},{&l_3013,&l_3013,&g_312,&l_3013},{(void*)0,&g_312,(void*)0,&g_312},{(void*)0,&g_312,&g_312,(void*)0},{&l_3013,&g_312,&l_3013,&g_312}},{{&g_312,&g_312,&l_3013,&l_3013},{&l_3013,&l_3013,&g_312,&l_3013},{(void*)0,&g_312,(void*)0,&g_312},{(void*)0,&g_312,&g_312,(void*)0},{&l_3013,&g_312,&l_3013,&g_312},{&g_312,&g_312,&l_3013,&l_3013},{&l_3013,&l_3013,&g_312,&l_3013}}};
                        int32_t ****l_3264 = &l_3265[5][2][2];
                        uint16_t l_3282 = 65533UL;
                        uint64_t *l_3283 = &g_968[1][2][0];
                        int i, j, k;
                        l_2854[1] = (-3L);
                        (*g_3258) = ((**l_2938) = (**l_2938));
                        (**g_312) &= (l_3261 = (((**g_2834) | ((safe_div_func_uint16_t_u_u(l_3261, ((1L || ((((l_2854[1] = (safe_div_func_int16_t_s_s(((*g_565) == ((*l_3264) = (*g_565))), l_3266))) < (!((~((safe_mul_func_uint32_t_u_u(((*g_191) |= ((safe_mod_func_int32_t_s_s((((((((safe_unary_minus_func_uint8_t_u(((**g_1109) == ((safe_lshift_func_int32_t_s_s((((*l_3283) = (safe_rshift_func_uint32_t_u_s(((((safe_rshift_func_int64_t_s_u(0xCE8B7C246C044036LL, 51)) <= (safe_lshift_func_uint64_t_u_u((((**g_1023) , l_3266) , g_1233.f0), 46))) , 0xDE25L) == l_3282), 8))) && l_3255[0]), 0)) , l_3284)))) && l_3134) | l_3255[0]) ^ l_3080[3]) < l_3285) | (**g_2834)) & p_9), p_9)) < p_9)), p_9)) >= p_9)) != l_2928))) & l_3080[2]) >= p_9)) && l_3286))) == g_2924[3][6][3].f0)) ^ l_3285));
                        return p_9;
                    }
                }
                else
                { /* block id: 1489 */
                    if (p_9)
                        break;
                    if (l_3285)
                        continue;
                }
                if ((safe_lshift_func_uint8_t_u_s((**g_416), ((safe_mul_func_int16_t_s_s(p_9, ((0x1AL <= ((*l_3292)++)) || p_9))) | (safe_rshift_func_int8_t_s_u(0xC7L, (*g_1112)))))))
                { /* block id: 1494 */
                    uint32_t l_3311 = 4294967295UL;
                    for (g_10 = 0; (g_10 <= 1); g_10 += 1)
                    { /* block id: 1497 */
                        uint32_t l_3301[7][6][3] = {{{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL}},{{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL}},{{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL}},{{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL}},{{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL}},{{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL}},{{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL},{0x57EC0316L,0x57EC0316L,0x57EC0316L},{1UL,0xCE4570F6L,1UL}}};
                        int16_t ***l_3322 = &g_3321;
                        int16_t ****l_3323 = &g_3320;
                        int i, j, k;
                        (**g_312) |= (safe_lshift_func_uint64_t_u_s((g_3299 , (!(l_3301[3][3][1] != (safe_add_func_uint64_t_u_u((l_3304[1][5][0] = l_3255[0]), (safe_sub_func_uint16_t_u_u((safe_mod_func_int64_t_s_s(p_9, ((safe_add_func_int8_t_s_s(0x53L, l_3311)) , 0x72C676B507BB53C3LL))), p_9))))))), p_9));
                        (**g_312) &= (((safe_div_func_uint32_t_u_u(((safe_div_func_int32_t_s_s((p_9 = (((*l_3323) = (l_3322 = ((((g_3316 , (safe_mul_func_int8_t_s_s((-3L), p_9))) && l_3311) != ((void*)0 == g_3319)) , g_3320))) != l_3324)), (safe_lshift_func_int16_t_s_s((((**g_2834) < g_90[3][1]) > l_3261), 6)))) , 4294967295UL), l_3304[1][5][0])) >= (**g_3321)) ^ 0x79178FAB48E22FA8LL);
                        (*g_312) = (*g_312);
                        (**g_312) &= (-1L);
                    }
                }
                else
                { /* block id: 1507 */
                    l_3327 = (**l_2849);
                    (*l_3324) = (*g_3320);
                }
                (**g_312) = l_3261;
                l_3338--;
            }
            else
            { /* block id: 1513 */
                uint32_t l_3346 = 0UL;
                int16_t l_3392[7][1][7] = {{{0xC645L,0xC645L,0xF5E0L,0xF5E0L,0xC645L,0xC645L,0xF5E0L}},{{(-1L),(-7L),(-1L),(-7L),(-1L),(-7L),(-1L)}},{{0xC645L,0xF5E0L,0xF5E0L,0xC645L,0xC645L,0xF5E0L,0xF5E0L}},{{2L,(-7L),2L,(-7L),2L,(-7L),2L}},{{0xC645L,0xC645L,0xF5E0L,0xF5E0L,0xC645L,0xC645L,0xF5E0L}},{{(-1L),(-7L),(-1L),(-7L),(-1L),(-7L),(-1L)}},{{0xC645L,0xF5E0L,0xF5E0L,0xC645L,0xC645L,0xF5E0L,0xF5E0L}}};
                int i, j, k;
                for (g_3169.f0 = 0; (g_3169.f0 != (-2)); --g_3169.f0)
                { /* block id: 1516 */
                    int8_t l_3374 = 0xC7L;
                    int32_t l_3393 = 6L;
                    struct S1 l_3400 = {0xB703BD1DE2B02070LL};
                    l_3343 = &p_9;
                }
                if (p_9)
                    break;
            }
            return (***g_3101);
        }
    }
    else
    { /* block id: 1551 */
        uint8_t l_3419 = 1UL;
        int8_t *l_3424[8] = {&g_269,&l_3080[2],&l_3080[2],&g_269,&l_3080[2],&l_3080[2],&g_269,&l_3080[2]};
        uint16_t *l_3431[7][1][2] = {{{&g_119,&g_119}},{{&g_119,&g_119}},{{&g_119,&g_119}},{{&g_119,&g_119}},{{&g_119,&g_119}},{{&g_119,&g_119}},{{&g_119,&g_119}}};
        int32_t *l_3442 = &l_2854[1];
        int i, j, k;
        l_3047 ^= l_3419;
        (**g_312) ^= (-3L);
        for (g_3328.f0 = 14; (g_3328.f0 < (-6)); g_3328.f0--)
        { /* block id: 1556 */
            (**g_312) = (safe_mul_func_uint32_t_u_u(2UL, (l_3424[6] != l_3424[6])));
        }
        (*l_3442) &= (1L <= ((safe_mod_func_int8_t_s_s(0L, (((safe_div_func_int16_t_s_s(((safe_rshift_func_uint16_t_u_s((((func_53(l_3080[0]) , l_3247) , p_9) > (((safe_lshift_func_uint8_t_u_u(((safe_mod_func_uint16_t_u_u((l_2980[3] <= l_3134), p_9)) && 2UL), l_2980[2])) , &l_3232) != l_3438)), 10)) == l_3419), p_9)) < 0xC5C7EB3E25BD7A9FLL) , (-8L)))) != p_9));
    }
    for (g_666 = 0; (g_666 <= (-3)); g_666 = safe_sub_func_uint8_t_u_u(g_666, 5))
    { /* block id: 1564 */
        int16_t l_3445 = 0x826EL;
        if (l_3445)
            break;
    }
    (*l_3458) ^= (safe_rshift_func_int32_t_s_s(((((*g_1660) = ((void*)0 == (*l_3137))) && (((*l_3448) = (void*)0) != (void*)0)) || ((((g_516 , (safe_div_func_int32_t_s_s((safe_mod_func_int8_t_s_s(l_3134, (safe_lshift_func_int32_t_s_s((-1L), 2)))), l_2854[1]))) != ((l_3047 = (&g_2051 == (void*)0)) >= p_9)) || (**g_3321)) != l_3456)), 11));
    return p_9;
}


/* ------------------------------------------ */
/* 
 * reads : g_191 g_187 g_1469
 * writes: g_187 g_2391 g_27
 */
static int32_t * func_13(uint64_t  p_14, const int32_t * p_15, int32_t * p_16, const int32_t * p_17)
{ /* block id: 1294 */
    uint32_t l_2879[3][1];
    int64_t *l_2884[1];
    int32_t l_2885 = (-2L);
    int8_t **l_2895 = &g_2589;
    int8_t *** const l_2894 = &l_2895;
    int8_t ***l_2897[10] = {&l_2895,&l_2895,&l_2895,&l_2895,&l_2895,&l_2895,&l_2895,&l_2895,&l_2895,&l_2895};
    int8_t ****l_2896 = &l_2897[4];
    int32_t l_2898 = 0xD79C6023L;
    int32_t l_2899 = 1L;
    int32_t l_2900 = 0xA84CD487L;
    int i, j;
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 1; j++)
            l_2879[i][j] = 0x85B28F9EL;
    }
    for (i = 0; i < 1; i++)
        l_2884[i] = &g_2852[1][1];
    l_2900 ^= ((++(*g_191)) | (l_2899 = (((safe_sub_func_int16_t_s_s(p_14, l_2879[2][0])) > ((((safe_sub_func_uint64_t_u_u(l_2879[2][0], (-8L))) || (safe_lshift_func_int64_t_s_s((l_2885 = 1L), (safe_div_func_int16_t_s_s(((safe_sub_func_uint64_t_u_u(g_1469[0][5], 18446744073709551611UL)) > ((*p_16) = (safe_sub_func_uint16_t_u_u((l_2898 |= (safe_div_func_uint16_t_u_u((l_2894 == ((*l_2896) = &l_2895)), p_14))), 0x7A77L)))), 0x97A1L))))) != (-5L)) >= p_14)) , p_14)));
    return p_16;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static uint32_t  func_18(int8_t  p_19, uint32_t  p_20, int32_t  p_21, int8_t  p_22)
{ /* block id: 1290 */
    int64_t l_2857 = 2L;
    uint16_t ***l_2870 = &g_1676;
    uint16_t ****l_2871 = &l_2870;
    int8_t l_2874 = 0x51L;
    l_2874 &= ((l_2857 >= (((safe_add_func_uint32_t_u_u(l_2857, (((((safe_lshift_func_int32_t_s_s((safe_sub_func_uint8_t_u_u((safe_mod_func_uint8_t_u_u((((l_2857 < (safe_lshift_func_uint16_t_u_u(p_21, 5))) , (((l_2857 != (((((*l_2871) = l_2870) != (void*)0) & (safe_lshift_func_int32_t_s_u(0L, 9))) < (0L == p_20))) != 0x42A03F1FFF5D747ALL) && l_2857)) | l_2857), l_2857)), p_22)), 25)) <= p_19) >= l_2857) ^ l_2857) & 0xCA6D1716L))) && l_2857) <= l_2857)) || p_22);
    return l_2857;
}


/* ------------------------------------------ */
/* 
 * reads : g_27 g_10 g_52 g_26 g_56 g_87 g_90 g_115 g_185 g_187 g_210 g_247 g_119 g_209.f0 g_268 g_269 g_277 g_216 g_319 g_209 g_322 g_191 g_369 g_378 g_400 g_339 g_416 g_423 g_428 g_317 g_535 g_519 g_507 g_343 g_565 g_566 g_609 g_613 g_516.f4 g_528 g_516.f2 g_652 g_417 g_537 g_516.f0 g_709 g_666 g_767 g_776 g_612 g_854 g_857 g_756 g_766.f4 g_909 g_766.f0 g_1311 g_1112 g_1330 g_1023 g_1024 g_1408 g_1425 g_1109 g_1110 g_1111 g_1469 g_1513 g_766.f2 g_1570 g_715 g_1498 g_967 g_1047 g_1213 g_1614 g_1652 g_1660 g_1601 g_1677 g_1710 g_1672 g_403 g_404 g_1075 g_1813 g_1833 g_710 g_711 g_777 g_766.f3 g_968 g_1956 g_1858.f0 g_2051 g_2055 g_1676 g_1651 g_2075 g_2084 g_2098 g_1834 g_1231 g_2151 g_2156 g_768 g_2208 g_1858.f4 g_2249 g_401 g_405 g_402 g_2351 g_1274 g_2354 g_2401 g_2412 g_1233.f2 g_2564 g_2099 g_2596 g_2678 g_2052 g_2053 g_190 g_2170 g_855 g_312 g_2833
 * writes: g_52 g_56 g_87 g_90 g_187 g_190 g_26 g_209 g_27 g_312 g_119 g_316 g_319 g_339 g_343 g_269 g_528 g_537 g_565 g_612 g_666 g_566 g_756 g_767 g_854 g_777 g_519 g_768 g_1498 g_652 g_317 g_423 g_1213 g_1651 g_1601 g_1672 g_1676 g_1112 g_967 g_1652.f0 g_968 g_1570 g_1858.f0 g_2051 g_1274 g_1231 g_1233.f0 g_2075 g_2401 g_2512 g_2563 g_1834 g_2589 g_2371 g_2834
 */
static uint32_t  func_24(int32_t * p_25)
{ /* block id: 5 */
    uint32_t l_32[7][4] = {{0x9413E458L,7UL,0x874BDBAFL,0x874BDBAFL},{0x9820B275L,0x9820B275L,0x1938D10FL,7UL},{7UL,0x9413E458L,0x1938D10FL,0x9413E458L},{0x9820B275L,0x07865E1BL,0x874BDBAFL,0x1938D10FL},{0x9413E458L,0x07865E1BL,0x07865E1BL,0x9413E458L},{0x07865E1BL,0x9413E458L,0x9820B275L,7UL},{0x07865E1BL,0x9820B275L,0x07865E1BL,0x874BDBAFL}};
    uint8_t l_49 = 0xC2L;
    struct S1 **l_2630 = &g_528;
    uint64_t l_2639 = 9UL;
    int32_t l_2652 = (-1L);
    int8_t l_2679 = (-9L);
    int32_t l_2694 = 0x4FCBCCFBL;
    int32_t l_2696[5] = {0x29649104L,0x29649104L,0x29649104L,0x29649104L,0x29649104L};
    uint32_t l_2735 = 0UL;
    uint16_t **l_2741 = &g_1651;
    int32_t l_2764 = (-1L);
    struct S1 l_2770 = {1L};
    int32_t l_2809 = 0x1F874DA2L;
    int i, j;
    if ((safe_lshift_func_uint32_t_u_s(((safe_rshift_func_int64_t_s_u(0xAA41A80D1C1D686ALL, 55)) , l_32[6][3]), 25)))
    { /* block id: 6 */
        uint32_t l_39 = 0UL;
        int32_t **l_2623 = &g_26[0];
        int16_t l_2677 = 1L;
        int32_t l_2681 = 1L;
        int32_t l_2689 = 9L;
        int32_t l_2691 = 1L;
        int32_t l_2692 = 0x16C547C9L;
        int32_t l_2695 = 8L;
        int32_t l_2701 = 0xEDBB41DCL;
        int32_t l_2703 = (-1L);
        int32_t l_2707 = 0x08C6C41DL;
        int32_t l_2708 = 0x5ABD2EB1L;
        int32_t l_2709[1];
        struct S1 *l_2743[7][9] = {{&g_209,&g_909[1],&g_209,(void*)0,(void*)0,&g_209,&g_909[1],&g_209,(void*)0},{(void*)0,&g_909[1],(void*)0,&g_209,&g_909[2],&g_209,(void*)0,&g_909[1],(void*)0},{&g_909[1],(void*)0,&g_209,(void*)0,&g_909[1],&g_909[1],(void*)0,&g_209,(void*)0},{(void*)0,&g_209,&g_209,&g_909[1],&g_909[2],&g_909[1],&g_909[2],&g_909[1],&g_209},{&g_909[1],&g_909[1],(void*)0,&g_209,(void*)0,&g_909[1],&g_909[1],(void*)0,&g_209},{(void*)0,&g_209,(void*)0,&g_909[1],(void*)0,&g_209,&g_909[2],&g_209,(void*)0},{&g_209,(void*)0,(void*)0,&g_209,&g_909[1],&g_209,(void*)0,(void*)0,&g_209}};
        uint8_t ***l_2793 = &g_1111;
        int i, j;
        for (i = 0; i < 1; i++)
            l_2709[i] = 1L;
        if ((*p_25))
        { /* block id: 7 */
            uint8_t l_50 = 0UL;
            uint32_t *l_51 = &g_52;
            int32_t *l_55 = &g_56;
            struct S1 * const *l_2631 = &g_528;
            struct S0 *l_2645 = (void*)0;
            const int32_t ***l_2672 = (void*)0;
            int32_t ***l_2673 = &l_2623;
            int32_t l_2683 = 0x68DD87A8L;
            int32_t l_2686 = 1L;
            int32_t l_2687 = 1L;
            int32_t l_2697 = 4L;
            int32_t l_2699 = (-3L);
            int32_t l_2700 = 0x4E8B0A5AL;
            int32_t l_2702[4][7] = {{0L,0x3B27E887L,0x48FA41F7L,0x3B27E887L,0L,0x48FA41F7L,0L},{0L,0x3FF8C053L,0xE20BC243L,0L,0xE20BC243L,0x3FF8C053L,0L},{0x323D630DL,0L,0x3FF8C053L,0xE20BC243L,0L,0xE20BC243L,0x3FF8C053L},{0L,0L,0x48FA41F7L,0L,0x3B27E887L,0x48FA41F7L,0x3B27E887L}};
            int i, j;
            if ((safe_div_func_int16_t_s_s((safe_sub_func_int32_t_s_s(((safe_sub_func_int32_t_s_s(((l_39 || l_32[6][0]) | (g_10 != ((safe_mod_func_uint64_t_u_u(g_27, g_27)) || (safe_rshift_func_int16_t_s_s((func_46(((!(l_49 & ((l_50 , ((*l_51) = l_39)) , (((func_53(((*l_55) = ((0x568C0775DAE11CD4LL <= l_32[6][3]) > l_50))) , g_1858.f4) | 0xDE73BA6B75AA5865LL) , (*g_1024))))) , l_50)) && 0L), 1))))), l_39)) <= 1UL), g_909[1].f0)), 0x4BCDL)))
            { /* block id: 1185 */
                int16_t l_2606[8][10][3] = {{{1L,0x2EA1L,3L},{0L,0x9A3EL,1L},{1L,0x9D2BL,0x76A0L},{(-6L),0x9D2BL,(-1L)},{7L,0x9A3EL,0x9418L},{(-1L),0x2EA1L,0xC75CL},{(-1L),0x76A0L,1L},{0x8C48L,0xC75CL,0x787EL},{0xD2CDL,1L,1L},{(-3L),8L,0xC75CL}},{{8L,0xA77BL,0x9418L},{0xC835L,0x6892L,(-1L)},{0xBA36L,(-1L),0x76A0L},{0xBA36L,1L,1L},{0xC835L,0x787EL,3L},{8L,0xCBC5L,0x7CF2L},{(-3L),0x4BF7L,0x43EFL},{0xD2CDL,3L,0x9D2BL},{0x8C48L,0x4BF7L,0x6EE1L},{(-1L),0xCBC5L,0x6F05L}},{{0x43EFL,0x8CA1L,8L},{0x0A02L,0x7D59L,0x722CL},{0x6F05L,(-1L),0x722CL},{0x2EA1L,0xF84FL,8L},{(-4L),0x6142L,1L},{1L,(-5L),0x7BEFL},{0xC75CL,0x3FE6L,1L},{1L,(-1L),0xDF59L},{0xC75CL,0x9DB4L,0x755EL},{1L,0xA28EL,0L}},{{(-4L),7L,0x7D59L},{0x2EA1L,1L,0x9DB4L},{0x6F05L,1L,(-1L)},{0x0A02L,7L,0x487AL},{0x43EFL,0xA28EL,(-1L)},{0x9418L,0x9DB4L,0x2D97L},{8L,(-1L),0x8CA1L},{(-1L),0x3FE6L,0x2D97L},{0xBE9FL,(-5L),(-1L)},{(-9L),0x6142L,0x487AL}},{{0x6892L,0xF84FL,(-1L)},{0x76A0L,(-1L),0x9DB4L},{0x76A0L,0x7D59L,0x7D59L},{0x6892L,0x8CA1L,0L},{(-9L),8L,0x755EL},{0xBE9FL,(-2L),0xDF59L},{(-1L),0L,1L},{8L,(-2L),0x7BEFL},{0x9418L,8L,1L},{0x43EFL,0x8CA1L,8L}},{{0x0A02L,0x7D59L,0x722CL},{0x6F05L,(-1L),0x722CL},{0x2EA1L,0xF84FL,8L},{(-4L),0x6142L,1L},{1L,(-5L),0x7BEFL},{0xC75CL,0x3FE6L,1L},{1L,(-1L),0xDF59L},{0xC75CL,0x9DB4L,0x755EL},{1L,0xA28EL,0L},{(-4L),7L,0x7D59L}},{{0x2EA1L,1L,0x9DB4L},{0x6F05L,1L,(-1L)},{0x0A02L,7L,0x487AL},{0x43EFL,0xA28EL,(-1L)},{0x9418L,0x9DB4L,0x2D97L},{8L,(-1L),0x8CA1L},{(-1L),0x3FE6L,0x2D97L},{0xBE9FL,(-5L),(-1L)},{(-9L),0x6142L,0x487AL},{0x6892L,0xF84FL,(-1L)}},{{0x76A0L,(-1L),0x9DB4L},{0x76A0L,0x7D59L,0x7D59L},{0x6892L,0x8CA1L,0L},{(-9L),8L,0x755EL},{0xBE9FL,(-2L),0xDF59L},{(-1L),0L,1L},{8L,(-2L),0x7BEFL},{0x9418L,8L,1L},{0x43EFL,0x8CA1L,8L},{0x0A02L,0x7D59L,0x722CL}}};
                int i, j, k;
                return l_2606[1][0][0];
            }
            else
            { /* block id: 1187 */
                uint64_t l_2616 = 0xEDD9470DC0C2B795LL;
                struct S1 **l_2628 = &g_528;
                struct S1 ***l_2629[9][1][5];
                int32_t l_2632 = 0xF25B496DL;
                int32_t l_2633 = 0L;
                int64_t *l_2634 = &g_2371[3][2];
                int64_t l_2688 = 1L;
                int8_t l_2690 = 0x4AL;
                int32_t l_2693 = (-1L);
                int32_t l_2698 = 0xABE39338L;
                int32_t l_2704 = (-1L);
                int32_t l_2705 = 0x6ACC0AECL;
                int32_t l_2706[2];
                uint32_t l_2710 = 1UL;
                int i, j, k;
                for (i = 0; i < 9; i++)
                {
                    for (j = 0; j < 1; j++)
                    {
                        for (k = 0; k < 5; k++)
                            l_2629[i][j][k] = &l_2628;
                    }
                }
                for (i = 0; i < 2; i++)
                    l_2706[i] = 0x3A02C0E1L;
                if (((safe_mod_func_int32_t_s_s((safe_unary_minus_func_int64_t_s((0L >= 0L))), 4L)) >= (safe_rshift_func_uint16_t_u_s((safe_mul_func_int8_t_s_s((l_50 , (((safe_mul_func_uint16_t_u_u(l_2616, (safe_lshift_func_uint32_t_u_s((safe_mod_func_int64_t_s_s(((*l_2634) = (safe_mul_func_int32_t_s_s(((void*)0 == l_2623), ((0x70L ^ (safe_rshift_func_uint32_t_u_s((l_2632 ^= ((safe_mul_func_int32_t_s_s(((((l_2630 = l_2628) != l_2631) & l_2616) < (*g_191)), (*p_25))) , 0UL)), l_50))) || l_2633)))), l_50)), 3)))) <= l_49) != l_32[6][3])), 0UL)), 0))))
                { /* block id: 1191 */
                    int32_t l_2646 = 3L;
                    uint64_t l_2651 = 0UL;
                    uint32_t *l_2659 = (void*)0;
                    uint32_t *l_2660 = &g_339[0];
                    const int32_t **l_2670 = &g_612[7][3][3];
                    const int32_t ***l_2669 = &l_2670;
                    const int32_t ****l_2671[10] = {&l_2669,&l_2669,&l_2669,&l_2669,&l_2669,&l_2669,&l_2669,&l_2669,&l_2669,&l_2669};
                    uint32_t *l_2676 = &g_537;
                    int i;
                    for (g_209.f0 = 0; (g_209.f0 <= (-26)); g_209.f0--)
                    { /* block id: 1194 */
                        int32_t l_2650 = 7L;
                        (*p_25) = (safe_add_func_int64_t_s_s(l_2639, ((safe_rshift_func_uint8_t_u_s((l_2652 |= ((****g_1109) = (safe_sub_func_int8_t_s_s(((safe_unary_minus_func_int8_t_s(l_2616)) & (l_2645 != (void*)0)), (((l_2646 , l_2616) || (((~((((safe_add_func_int16_t_s_s(((l_2650 < (l_32[6][3] ^ l_2650)) && 65535UL), l_50)) & l_2651) > l_2633) == 0x9D8796C1EA7CBDC0LL)) != (*p_25)) , l_2616)) , l_50))))), 3)) && l_50)));
                    }
                    (**l_2669) = ((*l_2623) = (((((safe_lshift_func_int32_t_s_u((safe_mul_func_int8_t_s_s((safe_mul_func_uint32_t_u_u(((*l_2660) &= ((*g_191) |= 0x1E0BDE6FL)), (safe_sub_func_uint32_t_u_u(l_2633, ((safe_rshift_func_int8_t_s_u(((safe_sub_func_uint32_t_u_u((l_2652 |= 4294967295UL), ((4294967295UL & (safe_mul_func_int16_t_s_s(((l_2672 = l_2669) != (l_2673 = (*g_565))), (safe_mod_func_uint8_t_u_u((1UL ^ ((*l_2676) |= ((void*)0 == &g_1245))), (**g_416)))))) > l_2632))) & (-6L)), l_2632)) < l_2677))))), g_967)), 6)) & (*p_25)) || g_2678) ^ l_2679) , p_25));
                }
                else
                { /* block id: 1207 */
                    int32_t *l_2680 = &g_2391;
                    int32_t *l_2682 = &g_27;
                    int32_t *l_2684 = &g_652[2][6];
                    int32_t *l_2685[5][7][3] = {{{&g_519,&l_2632,&g_319},{&g_652[4][8],&l_2683,&l_2683},{&l_2683,&l_2683,(void*)0},{&g_652[4][8],&g_652[5][6],&g_1601},{&g_519,&l_2683,&g_519},{&g_519,(void*)0,&l_2632},{&g_652[4][8],&l_2681,&g_319}},{{&l_2683,(void*)0,&g_519},{&g_652[4][8],&l_2683,(void*)0},{&g_519,&l_2681,&l_2683},{&g_519,(void*)0,&l_2683},{&g_652[4][8],&l_2681,&l_2632},{&l_2683,&g_652[5][6],&l_2683},{&g_652[4][8],(void*)0,&g_652[4][8]}},{{&g_519,&l_2681,(void*)0},{&g_519,&l_2632,&g_319},{&g_652[4][8],&l_2683,&l_2683},{&l_2683,&l_2683,(void*)0},{&g_652[4][8],&g_652[5][6],&g_1601},{&g_519,&l_2683,&g_519},{&g_519,(void*)0,&l_2632}},{{&g_652[4][8],&l_2681,&g_319},{&l_2683,(void*)0,&g_519},{&g_652[4][8],&l_2683,(void*)0},{&g_519,&l_2681,&l_2683},{&g_519,(void*)0,&l_2683},{&g_652[4][8],&l_2681,&l_2632},{&l_2683,&g_652[5][6],&l_2683}},{{&g_652[4][8],(void*)0,&g_652[4][8]},{&g_519,&l_2681,(void*)0},{&g_519,&l_2632,&g_319},{&g_652[4][8],&l_2683,&l_2683},{&l_2683,&l_2683,(void*)0},{&g_652[4][8],&g_652[5][6],&g_1601},{&g_519,&l_2683,&g_519}}};
                    int i, j, k;
                    ++l_2710;
                    return l_2706[0];
                }
                if (g_519)
                    goto lbl_2749;
            }
        }
        else
        { /* block id: 1212 */
            int8_t **l_2714 = (void*)0;
            int8_t ***l_2713 = &l_2714;
            int32_t l_2722[2][1][8] = {{{0xF5802DB8L,0xF5802DB8L,(-1L),(-1L),0xF5802DB8L,0xF5802DB8L,(-1L),(-1L)}},{{0xF5802DB8L,0xF5802DB8L,(-1L),(-1L),0xF5802DB8L,0xF5802DB8L,(-1L),(-1L)}}};
            int i, j, k;
            if ((((*g_1672) , ((&g_2589 == (void*)0) ^ (((*l_2713) = &g_2589) == (void*)0))) != ((**g_190) = (safe_add_func_uint32_t_u_u(((**g_2051) != (**g_2051)), (safe_lshift_func_int16_t_s_u(((((-1L) || (safe_mul_func_uint16_t_u_u((~(**l_2623)), 0L))) > l_2722[0][0][0]) , l_2694), 7)))))))
            { /* block id: 1215 */
                for (g_423 = 18; (g_423 > 60); g_423 = safe_add_func_int32_t_s_s(g_423, 1))
                { /* block id: 1218 */
                    int8_t l_2725 = (-1L);
                    if (l_2722[0][0][0])
                        break;
                    return l_2725;
                }
            }
            else
            { /* block id: 1222 */
                return (**l_2623);
            }
            return l_2722[0][0][2];
        }
lbl_2749:
        for (g_27 = 0; (g_27 >= (-1)); --g_27)
        { /* block id: 1229 */
            int32_t l_2728 = 0x972BEEA8L;
            int32_t l_2729 = 0x3273EB83L;
            int32_t *l_2730 = &l_2701;
            int32_t *l_2731 = &g_652[2][0];
            int32_t *l_2732 = (void*)0;
            int32_t *l_2733[9][8] = {{&l_2729,&l_2708,(void*)0,&g_1601,&l_2709[0],&l_2728,&g_1601,&l_2728},{&g_1601,&g_319,(void*)0,&g_319,&g_1601,&l_2728,(void*)0,&l_2709[0]},{&l_2709[0],&l_2708,&g_319,&l_2681,&g_1601,&g_1601,&l_2681,&g_319},{&l_2709[0],&l_2709[0],&g_319,&l_2729,(void*)0,&l_2709[0],(void*)0,&l_2709[0]},{&g_1601,(void*)0,(void*)0,&l_2709[0],(void*)0,(void*)0,&g_1601,&l_2709[0]},{(void*)0,&l_2709[0],(void*)0,&l_2729,&g_319,&l_2709[0],&l_2709[0],&g_319},{&l_2681,&g_1601,&g_1601,&l_2681,&g_319,&l_2708,&l_2709[0],&l_2709[0]},{(void*)0,&l_2728,&g_1601,&g_319,(void*)0,&g_319,&g_1601,&l_2728},{&g_1601,&l_2728,&l_2709[0],&g_1601,(void*)0,&l_2708,&l_2708,&l_2708}};
            int16_t l_2734[10] = {0xCB1BL,0xCB1BL,0x95DDL,0xCB1BL,0xCB1BL,0x95DDL,0xCB1BL,0xCB1BL,0x95DDL,0xCB1BL};
            int i, j;
            l_2735++;
            for (g_537 = 16; (g_537 != 36); ++g_537)
            { /* block id: 1233 */
                uint16_t **l_2740 = &g_1651;
                uint16_t ***l_2742 = (void*)0;
                int32_t l_2744 = 0xCE593189L;
                int32_t l_2745[5][8][1] = {{{(-7L)},{0x1038098EL},{(-7L)},{0L},{0xCF93FCC6L},{0x1038098EL},{0xCF93FCC6L},{0L}},{{(-7L)},{0x1038098EL},{(-7L)},{0L},{0xCF93FCC6L},{0x1038098EL},{0xCF93FCC6L},{0L}},{{(-7L)},{0x1038098EL},{(-7L)},{0L},{0xCF93FCC6L},{0x1038098EL},{0xCF93FCC6L},{0L}},{{(-7L)},{0x1038098EL},{(-7L)},{0L},{0xCF93FCC6L},{0x1038098EL},{0xCF93FCC6L},{0L}},{{(-7L)},{0x1038098EL},{(-7L)},{0L},{0xCF93FCC6L},{0x1038098EL},{0xCF93FCC6L},{0L}}};
                uint64_t l_2746 = 18446744073709551615UL;
                int i, j, k;
                (*l_2731) &= (((g_1676 = l_2740) == (l_2741 = l_2741)) <= 0x33L);
                (*g_2170) = l_2743[2][7];
                --l_2746;
            }
        }
        if ((*p_25))
        { /* block id: 1242 */
            uint16_t l_2750 = 0x8002L;
            uint32_t *l_2751 = &l_32[5][3];
            uint64_t *l_2762 = &g_968[1][2][0];
            uint64_t *l_2763 = &g_343;
            int32_t *l_2771 = &g_1601;
            (*p_25) = ((((*l_2751) ^= l_2750) , (((((((((safe_mul_func_int8_t_s_s((safe_mul_func_uint8_t_u_u((safe_rshift_func_int32_t_s_s((safe_mul_func_uint64_t_u_u(((((l_2750 ^ ((255UL >= ((((((l_2750 && (0x31B23FF9L ^ l_49)) & (((safe_mul_func_uint64_t_u_u(((*l_2763) = ((*l_2762) = ((void*)0 == &g_566))), (l_2750 || l_2701))) | 0xEB7B710BL) ^ l_2707)) == l_49) != l_2696[4]) < l_49) < 0x46E5L)) < (-1L))) & l_32[6][3]) & 0x73DACCCEL) <= l_32[0][0]), l_2750)), l_2735)), l_2750)), l_2750)) && (*p_25)) ^ l_2750) < 0L) <= l_2750) <= l_49) > 1UL) & 0x4CC866A4L) && l_2639)) <= l_2764);
            for (g_1570 = 0; (g_1570 > (-28)); g_1570 = safe_sub_func_uint32_t_u_u(g_1570, 5))
            { /* block id: 1249 */
                uint64_t l_2767 = 0x3E9CAFB8EDA3190CLL;
                --l_2767;
            }
            l_2770 = l_2770;
            l_2771 = l_2751;
        }
        else
        { /* block id: 1254 */
            int64_t l_2772 = (-1L);
            int8_t *l_2781 = &g_269;
            int32_t *l_2795 = &l_2703;
            int32_t l_2796[6][6];
            int32_t *l_2797 = &l_2707;
            int32_t *l_2798 = &l_2652;
            int32_t *l_2799 = &g_652[2][4];
            int32_t *l_2800 = &l_2701;
            int32_t *l_2801 = &l_2708;
            int32_t *l_2802 = &l_2703;
            int32_t *l_2803 = &l_2691;
            int32_t *l_2804 = &l_2796[5][4];
            int32_t *l_2805 = &g_652[2][4];
            int32_t *l_2806 = &l_2708;
            int32_t *l_2807[9][8] = {{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652},{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652},{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652},{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652},{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652},{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652},{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652},{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652},{&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652,&l_2652}};
            int32_t l_2808 = 0x011AAF87L;
            uint16_t l_2810 = 0xD6B1L;
            int i, j;
            for (i = 0; i < 6; i++)
            {
                for (j = 0; j < 6; j++)
                    l_2796[i][j] = 0x31883DD5L;
            }
            if (g_269)
                goto lbl_2749;
            (*p_25) = (l_2772 , ((!((((safe_mod_func_int64_t_s_s(l_32[4][1], 0x40178FADB31B304FLL)) , ((*l_2781) = (0x6212DB13L >= ((l_2639 | (safe_mod_func_int8_t_s_s((((7L | (~((**g_416) && (safe_mod_func_int16_t_s_s(l_32[2][0], l_2772))))) > l_2772) > 0xBBA0BE7359FC942ELL), l_2772))) & (-6L))))) > 0xD2L) <= l_2679)) | 0x7760B8827B0EFC52LL));
            (*l_2795) = (((**g_857) != ((g_909[1].f0 <= ((l_2735 , (safe_mod_func_uint32_t_u_u((safe_mul_func_int16_t_s_s(l_2772, (((safe_sub_func_int32_t_s_s(((safe_div_func_int8_t_s_s(l_32[3][0], l_2772)) , ((*p_25) &= (safe_unary_minus_func_uint32_t_u(1UL)))), (safe_mod_func_uint16_t_u_u((((l_2703 , ((l_2679 >= 18446744073709551612UL) , (void*)0)) == l_2793) , l_2679), l_2772)))) <= l_2679) | l_2709[0]))), (-1L)))) || (*p_25))) , (*g_1109))) < 0x31AED640L);
            l_2810++;
        }
    }
    else
    { /* block id: 1262 */
        struct S1 l_2817 = {1L};
        uint8_t ****l_2821 = (void*)0;
        uint8_t *****l_2820 = &l_2821;
        if ((((l_49 | (safe_div_func_uint32_t_u_u(2UL, ((*g_191) &= (((safe_add_func_int8_t_s_s(((l_2770 = ((**l_2630) = l_2817)) , ((255UL & (l_2817.f0 & (((***g_1110) = 1UL) | l_2809))) < (246UL <= (safe_mul_func_int8_t_s_s((l_2817.f0 == 7L), l_2694))))), 0xD1L)) == l_2817.f0) >= l_32[6][3]))))) || 1UL) == l_2817.f0))
        { /* block id: 1267 */
            uint8_t *****l_2822 = &l_2821;
            int32_t l_2827 = (-1L);
            uint16_t *l_2830 = &g_1231;
            l_2822 = l_2820;
            (*p_25) = ((0x6646BE20L || (safe_mul_func_int8_t_s_s(0xF9L, 0xE7L))) ^ (safe_mul_func_int8_t_s_s((l_2817.f0 , (l_2827 ^ ((*l_2830) = ((l_2827 || l_2827) | ((((safe_rshift_func_int64_t_s_u((((void*)0 != p_25) , l_2639), 34)) > l_2827) , 1UL) != (*g_191)))))), l_2817.f0)));
        }
        else
        { /* block id: 1271 */
            (**g_312) ^= (((void*)0 == &g_566) >= 65535UL);
        }
    }
    for (l_2639 = 0; (l_2639 <= 48); l_2639 = safe_add_func_int32_t_s_s(l_2639, 2))
    { /* block id: 1277 */
        uint32_t *l_2836[4][2] = {{&l_2735,&l_2735},{&l_2735,&l_2735},{&l_2735,&l_2735},{&l_2735,&l_2735}};
        uint32_t **l_2835[7][2][2] = {{{&l_2836[1][1],&l_2836[1][1]},{&l_2836[1][1],&l_2836[1][1]}},{{&l_2836[1][1],&l_2836[1][1]},{&l_2836[1][1],&l_2836[1][1]}},{{&l_2836[1][1],&l_2836[1][1]},{&l_2836[1][1],&l_2836[1][1]}},{{&l_2836[1][1],&l_2836[1][1]},{&l_2836[1][1],&l_2836[1][1]}},{{&l_2836[1][1],&l_2836[1][1]},{&l_2836[1][1],&l_2836[1][1]}},{{&l_2836[1][1],&l_2836[1][1]},{&l_2836[1][1],&l_2836[1][1]}},{{&l_2836[1][1],&l_2836[1][1]},{&l_2836[1][1],&l_2836[1][1]}}};
        uint32_t ***l_2837 = &l_2835[1][0][0];
        int i, j, k;
        (*g_2833) = &g_369;
        (*l_2837) = l_2835[5][1][1];
    }
    for (g_56 = 0; (g_56 != 20); g_56 = safe_add_func_uint32_t_u_u(g_56, 5))
    { /* block id: 1283 */
        uint32_t l_2840 = 1UL;
        return l_2840;
    }
    return l_2770.f0;
}


/* ------------------------------------------ */
/* 
 * reads : g_1231 g_1023 g_1024 g_247.f4 g_1111 g_1112 g_2249 g_319 g_537 g_191 g_187 g_565 g_566 g_1813 g_1425.f3 g_1652.f3 g_968 g_400 g_401 g_405 g_403 g_402 g_2351 g_1110 g_90 g_1274 g_2354 g_2401 g_2412 g_2156.f4 g_423 g_2151 g_652 g_766.f0 g_756 g_209.f0 g_1233.f2 g_2208 g_417 g_2564 g_2098 g_2099 g_1833 g_1834 g_87 g_115 g_56 g_10 g_52 g_27 g_185 g_210 g_247 g_119 g_268 g_269 g_277 g_216 g_2596
 * writes: g_1231 g_90 g_666 g_319 g_1233.f0 g_756 g_1274 g_968 g_2075 g_87 g_652 g_2401 g_1601 g_343 g_209.f0 g_2512 g_2563 g_1834 g_187 g_2589 g_339 g_190 g_26 g_209 g_27 g_312 g_119
 */
static uint8_t  func_46(int32_t  p_47)
{ /* block id: 1039 */
    uint16_t *l_2232 = (void*)0;
    int64_t l_2246 = 0xFCDA82713676C157LL;
    uint16_t *l_2247 = &g_756;
    uint8_t *** const **l_2277 = (void*)0;
    int32_t l_2308 = (-5L);
    int32_t l_2325 = 0x7ED0B08FL;
    int32_t l_2326[3];
    struct S1 **l_2348 = &g_528;
    uint32_t l_2424[2][1][8] = {{{0UL,0x296E5626L,18446744073709551609UL,18446744073709551609UL,0x296E5626L,0UL,0x296E5626L,18446744073709551609UL}},{{18446744073709551614UL,0x296E5626L,18446744073709551614UL,0UL,0UL,18446744073709551614UL,0x296E5626L,18446744073709551614UL}}};
    int32_t *l_2444[10];
    uint8_t l_2513 = 0x14L;
    uint32_t l_2569 = 0UL;
    uint64_t l_2581 = 18446744073709551614UL;
    uint8_t l_2605 = 247UL;
    int i, j, k;
    for (i = 0; i < 3; i++)
        l_2326[i] = (-3L);
    for (i = 0; i < 10; i++)
        l_2444[i] = (void*)0;
    for (g_1231 = 0; (g_1231 == 59); g_1231 = safe_add_func_uint16_t_u_u(g_1231, 2))
    { /* block id: 1042 */
        int64_t l_2223 = 4L;
        int32_t l_2225 = 0x2EF348C0L;
        uint16_t **l_2230 = &g_1651;
        uint16_t **l_2231[5];
        int32_t l_2245 = 0L;
        int64_t l_2248 = (-4L);
        int8_t *l_2250 = &g_666;
        int32_t *l_2251 = &g_319;
        uint32_t l_2254 = 4UL;
        int32_t l_2321 = 1L;
        int16_t **l_2332 = &g_1274[0];
        int16_t *** const l_2331 = &l_2332;
        int16_t l_2366 = 1L;
        int32_t l_2380 = 0x9C25B054L;
        int32_t l_2384 = 0L;
        int32_t l_2387 = 0xB2A93F04L;
        int32_t l_2388 = 0L;
        int32_t l_2393 = 0x02D78BEAL;
        int32_t l_2394 = 0x7A065BBDL;
        int32_t l_2395 = 1L;
        int16_t l_2543[5] = {0L,0L,0L,0L,0L};
        int32_t l_2547 = 1L;
        int32_t l_2548 = 0L;
        int32_t l_2549 = (-6L);
        int32_t l_2550 = 0L;
        int8_t l_2582 = 1L;
        struct S1 l_2594 = {0L};
        int i;
        for (i = 0; i < 5; i++)
            l_2231[i] = &g_1651;
        (*l_2251) = (4294967295UL && (((l_2223 , l_2223) ^ (!(l_2225 = 6UL))) < ((*l_2250) = ((safe_sub_func_uint16_t_u_u((safe_sub_func_uint8_t_u_u(((**g_1111) = (((l_2232 = (void*)0) != (l_2247 = (((((safe_sub_func_int64_t_s_s((!((safe_mod_func_int16_t_s_s((1UL <= 0xA412L), (safe_lshift_func_int8_t_s_s((((**g_1023) > (safe_unary_minus_func_uint8_t_u((safe_add_func_uint32_t_u_u((safe_rshift_func_uint16_t_u_u((l_2245 &= 2UL), l_2246)), 4294967295UL))))) ^ 0x578AL), 5)))) , p_47)), 0x255E1BAB8E8B9957LL)) <= l_2223) | 0xE68C1498D62ED4C7LL) <= 0xD063L) , l_2247))) > l_2246)), p_47)), l_2248)) && g_2249))));
        if (((safe_sub_func_int32_t_s_s((*l_2251), l_2246)) | g_537))
        { /* block id: 1050 */
            --l_2254;
        }
        else
        { /* block id: 1052 */
            uint32_t l_2262 = 0xCAB66A01L;
            int32_t l_2279 = 0xBA079909L;
            int32_t ** const *l_2296 = &g_312;
            uint32_t l_2306 = 0x29E9D105L;
            int32_t l_2313 = 0L;
            int32_t l_2314 = 0x519475AAL;
            uint32_t ** const *l_2319 = &g_1834;
            uint32_t ** const **l_2318 = &l_2319;
            uint8_t l_2327[1];
            int16_t ** const *l_2333 = &l_2332;
            int32_t l_2373 = (-1L);
            int32_t l_2375 = 4L;
            int32_t l_2378 = 0x6DD1E1E8L;
            int32_t l_2382 = 0L;
            int32_t l_2386 = 0x6ADD33D7L;
            int32_t l_2389 = 1L;
            int32_t l_2390 = 0x2FC9AEB9L;
            int32_t l_2392 = (-1L);
            int32_t l_2397[3];
            int8_t **l_2421 = &g_1498;
            int32_t *l_2448 = &l_2325;
            int8_t l_2461[5] = {1L,1L,1L,1L,1L};
            struct S1 **l_2473 = &g_528;
            int32_t *l_2493 = &l_2225;
            int8_t l_2535 = 0xC5L;
            struct S0 ***l_2576 = &g_767;
            const uint32_t l_2591 = 9UL;
            int i;
            for (i = 0; i < 1; i++)
                l_2327[i] = 255UL;
            for (i = 0; i < 3; i++)
                l_2397[i] = 0L;
            if (p_47)
            { /* block id: 1053 */
                uint64_t *l_2278 = (void*)0;
                const int32_t l_2280 = 0xEC1723D7L;
                int32_t l_2320 = 0x23C3B262L;
                int32_t l_2323 = 0x0CC95B3DL;
                int32_t l_2363 = (-10L);
                int64_t l_2364 = 0x61A2A8904E337EC1LL;
                int32_t l_2365 = 0x690218AAL;
                uint16_t l_2367 = 65535UL;
                int32_t l_2374 = 0x917C4EC4L;
                int32_t l_2376 = 0xCC997455L;
                int32_t l_2377 = 0x8A08D1B0L;
                int32_t l_2379 = 0xF7D65121L;
                int32_t l_2381 = 0x799333C7L;
                int32_t l_2383 = 0x8846B51FL;
                int32_t l_2396 = (-4L);
                int32_t l_2398 = 3L;
                int32_t l_2399 = 0x39C36DE1L;
                int32_t l_2400[4];
                int8_t *l_2418 = (void*)0;
                int32_t l_2442 = 0x49298730L;
                int i;
                for (i = 0; i < 4; i++)
                    l_2400[i] = 0x5AE52E9AL;
                for (g_1233.f0 = 0; (g_1233.f0 != (-26)); g_1233.f0--)
                { /* block id: 1056 */
                    int32_t *l_2259 = &g_1601;
                    int32_t *l_2260 = &g_319;
                    int32_t *l_2261[4][2];
                    int i, j;
                    for (i = 0; i < 4; i++)
                    {
                        for (j = 0; j < 2; j++)
                            l_2261[i][j] = &g_519;
                    }
                    ++l_2262;
                }
                if ((((safe_rshift_func_int16_t_s_u(((safe_mod_func_uint32_t_u_u((((0x92L <= 248UL) == (((*l_2247) = (safe_lshift_func_int64_t_s_s(p_47, 59))) | ((safe_lshift_func_uint32_t_u_u((*l_2251), p_47)) <= (safe_sub_func_uint16_t_u_u((**g_1023), l_2246))))) && ((safe_mod_func_uint64_t_u_u((l_2279 = (l_2277 != (void*)0)), l_2280)) != p_47)), (*g_191))) < 18446744073709551609UL), 11)) || 0L) || 0x7A2C818FL))
                { /* block id: 1061 */
                    int16_t **l_2287 = &g_1274[0];
                    uint64_t *l_2307 = &g_968[1][1][7];
                    uint16_t l_2315 = 0xBA97L;
                    int32_t l_2322[8][5][2] = {{{0xF99AB926L,(-9L)},{0xD3FBF31CL,0xA88E55AEL},{0x397905F2L,(-9L)},{0x6B7167FAL,0xB03D7DEBL},{0x6B7167FAL,(-9L)}},{{(-8L),(-10L)},{(-9L),1L},{0x636A0440L,0x397905F2L},{0xA7B03C58L,0xD93D7626L},{0xD93D7626L,1L}},{{6L,0x6B7167FAL},{(-8L),6L},{0xD12CB362L,0xB03D7DEBL},{(-10L),0L},{(-8L),0xD12CB362L}},{{0L,1L},{0x397905F2L,0x636A0440L},{0xA7B03C58L,0x636A0440L},{0x397905F2L,1L},{0L,0xD12CB362L}},{{(-8L),0L},{(-10L),0xB03D7DEBL},{0xD12CB362L,6L},{(-8L),0x6B7167FAL},{6L,1L}},{{0xD93D7626L,0xD93D7626L},{0xA7B03C58L,0x397905F2L},{0x636A0440L,1L},{(-9L),(-10L)},{(-8L),(-9L)}},{{0x6B7167FAL,0xB03D7DEBL},{0x6B7167FAL,(-9L)},{(-8L),(-10L)},{(-9L),1L},{0x636A0440L,0x397905F2L}},{{0xA7B03C58L,0xD93D7626L},{0xD93D7626L,1L},{6L,0x6B7167FAL},{(-8L),6L},{0xD12CB362L,0xB03D7DEBL}}};
                    const struct S1 *l_2347 = &g_909[1];
                    const struct S1 **l_2346 = &l_2347;
                    int i, j, k;
                    if ((safe_mod_func_uint64_t_u_u(((safe_sub_func_uint64_t_u_u(((*l_2307) |= ((((safe_sub_func_int16_t_s_s(((((*l_2287) = &g_2075) == (void*)0) || (safe_lshift_func_uint32_t_u_u((((safe_mul_func_int32_t_s_s((((p_47 | p_47) >= ((safe_sub_func_uint16_t_u_u((safe_add_func_uint32_t_u_u(((*g_565) == l_2296), (((safe_add_func_uint16_t_u_u((safe_div_func_uint64_t_u_u((safe_add_func_int32_t_s_s(p_47, (g_1813 , (safe_mul_func_int64_t_s_s((!g_1425.f3), g_1652.f3))))), l_2306)), p_47)) >= p_47) & (*l_2251)))), (*l_2251))) & 0x1FC517D3D2700D75LL)) , l_2280), l_2280)) , p_47) ^ p_47), 6))), 65528UL)) ^ p_47) ^ p_47) || 0L)), l_2246)) < l_2246), (*l_2251))))
                    { /* block id: 1064 */
                        int32_t *l_2309 = &l_2279;
                        int32_t *l_2310 = (void*)0;
                        int32_t *l_2311 = (void*)0;
                        int32_t *l_2312[2];
                        int16_t l_2324 = 0x67CEL;
                        int i;
                        for (i = 0; i < 2; i++)
                            l_2312[i] = &l_2245;
                        ++l_2315;
                        if (l_2246)
                            break;
                        l_2308 ^= (&g_400 != l_2318);
                        ++l_2327[0];
                    }
                    else
                    { /* block id: 1069 */
                        int8_t l_2330 = 0x27L;
                        int32_t *l_2355 = &l_2279;
                        int32_t *l_2356 = &l_2321;
                        int32_t *l_2357 = (void*)0;
                        int32_t *l_2358 = &l_2325;
                        int32_t *l_2359 = &g_27;
                        int32_t *l_2360 = &l_2245;
                        int32_t *l_2361 = &l_2322[3][2][0];
                        int32_t *l_2362[5] = {&l_2308,&l_2308,&l_2308,&l_2308,&l_2308};
                        int i;
                        l_2330 = (-1L);
                        (*l_2251) |= ((((((*l_2307) |= 18446744073709551613UL) , l_2331) != l_2333) , (((-1L) || ((safe_lshift_func_uint8_t_u_s(l_2330, 6)) & (((safe_sub_func_int16_t_s_s(l_2325, ((safe_add_func_uint32_t_u_u(((void*)0 != (**g_400)), 0L)) <= l_2322[3][2][0]))) && p_47) && 248UL))) , (*g_191))) , 0x9ED31EEBL);
                        (*g_2354) = (((safe_rshift_func_uint8_t_u_u((safe_mod_func_int64_t_s_s(l_2315, (safe_sub_func_int32_t_s_s(((l_2346 == l_2348) , 0L), ((*l_2251) |= p_47))))), (((**l_2287) = (((safe_mul_func_int16_t_s_s(0xC26FL, (g_2351 , 0L))) >= (--(***g_1110))) && p_47)) < p_47))) <= 18446744073709551614UL) || 0xDBL);
                        l_2367++;
                    }
                }
                else
                { /* block id: 1079 */
                    int32_t *l_2370[4];
                    int16_t l_2372 = (-1L);
                    int64_t l_2385 = 5L;
                    int8_t **l_2417 = &l_2250;
                    int i;
                    for (i = 0; i < 4; i++)
                        l_2370[i] = (void*)0;
                    g_2401--;
                    l_2396 |= (0x00C6B665F1F47437LL || (p_47 >= (*l_2251)));
                    (*l_2251) ^= (safe_mul_func_int64_t_s_s((safe_sub_func_int8_t_s_s(l_2326[1], ((((safe_lshift_func_int16_t_s_u((safe_lshift_func_int8_t_s_s((g_2412 <= (safe_unary_minus_func_int64_t_s((safe_add_func_int32_t_s_s((((((+0x56D7CB4F9107178DLL) | (((((*l_2417) = &g_967) == l_2418) > 65535UL) <= (((safe_mul_func_uint16_t_u_u((&g_191 == (void*)0), ((l_2421 == l_2417) & 0xEC7D6112DD267AFBLL))) <= p_47) , 0xCF3046699CBFF9F6LL))) && 0UL) ^ l_2325) | 0x3A0AL), (*g_191)))))), p_47)), p_47)) , p_47) | 0xAD29L) != p_47))), p_47));
                }
                if (p_47)
                    continue;
                for (g_1601 = (-24); (g_1601 >= 3); ++g_1601)
                { /* block id: 1088 */
                    uint32_t l_2425 = 2UL;
                    int32_t l_2429 = (-1L);
                    if ((l_2424[1][0][4] , ((((*l_2247) = (0xE93F460CB50322C8LL >= (l_2425 , 0x1E83BB0DECA30E3ELL))) || (safe_mul_func_int16_t_s_s((+0x82L), p_47))) < ((l_2429 &= p_47) | ((safe_sub_func_int64_t_s_s((safe_mul_func_uint16_t_u_u((((safe_mul_func_uint8_t_u_u((safe_mul_func_int32_t_s_s((l_2425 ^ ((safe_rshift_func_uint64_t_u_s((safe_add_func_int32_t_s_s((65535UL ^ 0UL), 0x97282F80L)), l_2400[2])) && p_47)), 0x60D347FAL)), p_47)) > g_2156.f4) ^ l_2442), 0L)), g_423)) & p_47)))))
                    { /* block id: 1091 */
                        const int32_t **l_2443[1][5][1] = {{{&g_612[1][5][3]},{(void*)0},{&g_612[1][5][3]},{(void*)0},{&g_612[1][5][3]}}};
                        int i, j, k;
                        l_2444[9] = (void*)0;
                        return p_47;
                    }
                    else
                    { /* block id: 1094 */
                        int8_t l_2445 = 0L;
                        l_2445 &= 0x4B2AA811L;
                        if (p_47)
                            continue;
                    }
                }
            }
            else
            { /* block id: 1099 */
                int32_t *l_2446 = &l_2279;
                int32_t l_2451 = 0x2F119E39L;
                int32_t l_2452 = 0x36710489L;
                int32_t l_2454 = 0x35A1EF97L;
                int32_t l_2455 = 0L;
                int32_t l_2456 = 0x4A045A3BL;
                int32_t l_2457 = (-8L);
                int32_t l_2462[9][4] = {{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L},{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L},{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L},{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L},{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L},{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L},{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L},{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L},{0x2EEBB870L,0x2EEBB870L,0x2EEBB870L,0x2EEBB870L}};
                int8_t l_2464[8] = {0xC4L,(-4L),(-4L),0xC4L,(-4L),(-4L),0xC4L,(-4L)};
                uint8_t l_2465 = 0xA6L;
                int i, j;
                l_2448 = l_2446;
                for (l_2314 = 28; (l_2314 >= (-7)); --l_2314)
                { /* block id: 1103 */
                    int8_t l_2453[5];
                    int32_t l_2458 = 0xCAE4519CL;
                    int32_t l_2459 = 0x0A92FA66L;
                    int32_t l_2463 = 0L;
                    int i;
                    for (i = 0; i < 5; i++)
                        l_2453[i] = 1L;
                    if ((*g_2151))
                        break;
                    --l_2465;
                    for (l_2321 = 9; (l_2321 <= (-21)); --l_2321)
                    { /* block id: 1108 */
                        uint64_t l_2470 = 0xB9BFD8F9DC3F5DABLL;
                        --l_2470;
                        return l_2470;
                    }
                    if (p_47)
                    { /* block id: 1112 */
                        return (*l_2251);
                    }
                    else
                    { /* block id: 1114 */
                        (*l_2446) |= 1L;
                    }
                }
            }
            if ((*l_2251))
                continue;
            if ((((l_2348 = l_2473) == l_2473) < (safe_add_func_uint32_t_u_u(0UL, (((safe_div_func_uint64_t_u_u((((*l_2247) |= ((*l_2448) = (((((((*l_2251) <= (*l_2448)) <= (safe_add_func_uint64_t_u_u(g_766[6].f0, p_47))) & ((*l_2448) , (safe_unary_minus_func_uint16_t_u((*l_2448))))) >= 0UL) >= 0x63L) | 4294967294UL))) != p_47), (*l_2251))) >= 0xC2E1585BL) && 0xD1L)))))
            { /* block id: 1123 */
                uint32_t *l_2483 = &g_187;
                uint64_t *l_2484 = (void*)0;
                uint64_t *l_2485 = &g_343;
                const int32_t l_2490[7][10][1] = {{{0xDF2A61FCL},{0xDF2A61FCL},{0x26944799L},{0x87940BFAL},{0L},{(-4L)},{1L},{1L},{2L},{0xE5DE65A9L}},{{(-1L)},{0xE293B496L},{1L},{0xE1ABEA05L},{0x161F2246L},{1L},{0x97454327L},{1L},{0x161F2246L},{0xE1ABEA05L}},{{1L},{0xE293B496L},{(-1L)},{0xE5DE65A9L},{2L},{1L},{1L},{(-4L)},{0L},{0x87940BFAL}},{{0x26944799L},{0xDF2A61FCL},{0xDF2A61FCL},{0x26944799L},{0x87940BFAL},{0L},{(-4L)},{1L},{1L},{2L}},{{0xE5DE65A9L},{(-1L)},{0xE293B496L},{1L},{0xE1ABEA05L},{0x161F2246L},{1L},{0x97454327L},{1L},{0x161F2246L}},{{0xE1ABEA05L},{1L},{0xE293B496L},{(-1L)},{0xE5DE65A9L},{2L},{1L},{1L},{(-4L)},{0L}},{{0x87940BFAL},{(-1L)},{0x161F2246L},{0x161F2246L},{(-1L)},{0x26944799L},{1L},{0L},{(-1L)},{0x68491689L}}};
                int64_t *l_2491 = &g_209.f0;
                int64_t *l_2492 = &l_2248;
                int32_t l_2534[5] = {0x290AFDDBL,0x290AFDDBL,0x290AFDDBL,0x290AFDDBL,0x290AFDDBL};
                int32_t l_2536 = 0x2A19D67CL;
                int i, j, k;
                if ((safe_div_func_int32_t_s_s((((*l_2485) = ((void*)0 != l_2483)) , ((*l_2251) == ((((safe_lshift_func_uint64_t_u_u((l_2348 != (void*)0), 59)) == ((*l_2448) != p_47)) < (((*l_2492) = ((*l_2491) ^= ((**g_1023) >= (safe_rshift_func_int64_t_s_s((*l_2251), l_2490[2][6][0]))))) <= p_47)) , p_47))), (*g_191))))
                { /* block id: 1127 */
                    l_2444[3] = l_2493;
                }
                else
                { /* block id: 1129 */
                    uint32_t l_2502 = 1UL;
                    uint16_t l_2533 = 6UL;
                    int32_t l_2537 = 1L;
                    int32_t l_2538 = 1L;
                    int32_t l_2539 = 0x4B4608C1L;
                    int32_t l_2540 = (-10L);
                    int32_t l_2541 = (-1L);
                    int32_t l_2542 = 0xF9705C1FL;
                    int32_t l_2544 = 0xFE9995B7L;
                    int32_t l_2545 = (-5L);
                    int32_t l_2546[5];
                    uint8_t l_2551 = 0xCDL;
                    int i;
                    for (i = 0; i < 5; i++)
                        l_2546[i] = 1L;
                    for (l_2390 = (-10); (l_2390 > (-29)); l_2390 = safe_sub_func_int8_t_s_s(l_2390, 1))
                    { /* block id: 1132 */
                        if ((*l_2448))
                            break;
                        (*l_2493) = (0x0A5FCD0D6B2CBE35LL & ((safe_mul_func_uint64_t_u_u((safe_lshift_func_uint32_t_u_u((*g_191), 0)), (((((*l_2448) > 0xB8L) >= (safe_div_func_uint64_t_u_u(((-8L) & (l_2502 , (((l_2502 , (!(g_2512 = (safe_rshift_func_int64_t_s_s((l_2490[2][6][0] < (safe_mul_func_uint16_t_u_u((safe_mul_func_uint64_t_u_u((((safe_rshift_func_uint64_t_u_u(((*l_2485) = ((*l_2251) > (*l_2251))), 40)) < (*l_2251)) >= p_47), 0UL)), (*l_2251)))), 20))))) != 247UL) != l_2513))), 0x232ECD07D77FA01DLL))) != p_47) > p_47))) <= p_47));
                    }
                    (*l_2251) = (((((l_2536 &= ((l_2502 || (0xAFL & ((p_47 > ((safe_div_func_int16_t_s_s((safe_div_func_int16_t_s_s(((((safe_mod_func_int8_t_s_s(((((safe_rshift_func_uint16_t_u_u(p_47, (l_2534[0] &= (+((*l_2448) = (safe_mul_func_int64_t_s_s(l_2502, ((safe_sub_func_uint8_t_u_u((safe_sub_func_uint16_t_u_u(((((safe_lshift_func_int64_t_s_s(((g_1233.f2 != (safe_sub_func_int32_t_s_s((g_766[6].f0 , l_2533), p_47))) || p_47), 60)) ^ p_47) ^ 0x4FBD2D9BE9A1A128LL) , 0xB291L), l_2502)), l_2490[5][4][0])) & 0L)))))))) , 0x9E6CEF8C5BBA5569LL) , &l_2225) != (void*)0), (-6L))) , p_47) || p_47) ^ 0x32L), p_47)), l_2535)) , p_47)) < 0x34EDL))) >= l_2502)) || 6UL) ^ l_2490[2][6][0]) & (*g_191)) , (*l_2251));
                    ++l_2551;
                }
                (*l_2448) |= (*g_2208);
                l_2536 ^= p_47;
            }
            else
            { /* block id: 1146 */
                int16_t l_2554 = (-4L);
                if (l_2554)
                    break;
            }
            for (l_2380 = 19; (l_2380 < 1); l_2380 = safe_sub_func_uint8_t_u_u(l_2380, 1))
            { /* block id: 1151 */
                const struct S1 * const l_2561[9][8] = {{&g_909[1],(void*)0,&g_909[3],&g_909[2],&g_909[1],&g_909[2],&g_909[3],(void*)0},{&g_909[1],&g_909[2],&g_909[3],(void*)0,&g_909[1],(void*)0,&g_909[3],&g_909[2]},{&g_909[1],(void*)0,&g_909[3],&g_909[2],&g_909[1],&g_909[2],&g_909[3],(void*)0},{&g_909[1],&g_909[2],&g_909[3],(void*)0,&g_909[1],(void*)0,&g_909[3],&g_909[2]},{&g_909[1],(void*)0,&g_909[3],&g_909[2],&g_909[1],&g_909[2],&g_909[3],(void*)0},{&g_909[1],&g_909[2],&g_909[3],(void*)0,&g_909[1],(void*)0,&g_909[3],&g_909[2]},{&g_909[1],(void*)0,&g_909[3],&g_909[2],&g_909[1],&g_909[2],&g_909[3],(void*)0},{&g_909[1],&g_909[2],&g_909[3],(void*)0,&g_909[1],(void*)0,&g_909[3],&g_909[2]},{&g_909[1],(void*)0,&g_909[3],&g_909[2],&g_909[1],&g_909[2],&g_909[3],(void*)0}};
                int32_t l_2565 = 0x3121926EL;
                int32_t l_2566 = 1L;
                int32_t l_2567 = 0xAF1AFB8CL;
                int32_t l_2568 = 4L;
                const uint32_t **l_2577 = &g_711;
                uint64_t *l_2580[1][1];
                int8_t *l_2588[7] = {&l_2582,&l_2582,&l_2582,&l_2582,&l_2582,&l_2582,&l_2582};
                int i, j;
                for (i = 0; i < 1; i++)
                {
                    for (j = 0; j < 1; j++)
                        l_2580[i][j] = &g_968[3][1][7];
                }
                for (l_2325 = 0; (l_2325 == (-16)); l_2325--)
                { /* block id: 1154 */
                    for (g_2512 = (-5); (g_2512 > 8); g_2512 = safe_add_func_uint64_t_u_u(g_2512, 3))
                    { /* block id: 1157 */
                        return (*g_417);
                    }
                    (*g_2564) = l_2561[0][6];
                }
                --l_2569;
                l_2565 = (safe_rshift_func_uint16_t_u_s((((p_47 < (safe_rshift_func_int64_t_s_u((l_2576 == (*g_2098)), ((((*g_1833) = (*g_1833)) != l_2577) <= (((*l_2251) &= (l_2568 < (safe_add_func_uint8_t_u_u((((void*)0 != (*g_400)) | l_2566), 1UL)))) || 0x217C3E0C37AA4A9CLL))))) != l_2581) < l_2582), 2));
                for (l_2513 = 0; (l_2513 == 4); l_2513 = safe_add_func_uint8_t_u_u(l_2513, 8))
                { /* block id: 1168 */
                    struct S0 *** const *l_2585 = &l_2576;
                    int8_t *l_2590 = &l_2461[2];
                    uint32_t *l_2592 = &g_339[0];
                    int32_t l_2593[7] = {0x309B60FBL,0x309B60FBL,0x309B60FBL,0x309B60FBL,0x309B60FBL,0x309B60FBL,0x309B60FBL};
                    int i;
                    (*g_2596) = func_68(((p_47 , p_47) == ((l_2585 == l_2585) , ((safe_sub_func_int8_t_s_s(((((((*l_2592) = (((*g_191) = ((*l_2251) || 0x510D6375L)) < (((g_2589 = l_2588[6]) == l_2590) , l_2591))) == 1L) && 0xC1683796L) ^ 0x2122A540L) <= 8UL), l_2593[2])) , (*g_1112)))), &g_52, p_47, l_2594);
                    (*l_2448) ^= (((1UL == ((safe_add_func_int64_t_s_s(((((safe_sub_func_int32_t_s_s((((*l_2331) = &g_1274[0]) != &g_1274[0]), (*g_191))) > ((((((((safe_unary_minus_func_uint16_t_u(((~2UL) || ((*l_2592) = 0xCA5FBACFL)))) | (safe_lshift_func_int8_t_s_s((-1L), (((0x41L & p_47) , l_2593[3]) <= p_47)))) < l_2568) && p_47) <= p_47) || (*l_2251)) || p_47) && l_2568)) && 0xF4B2BD2BL) >= l_2567), p_47)) > (*l_2251))) & 0x3338L) , (*l_2493));
                }
            }
        }
        (*g_2596) = &l_2393;
    }
    (*g_2208) |= p_47;
    l_2605 = ((*g_2208) |= p_47);
    return p_47;
}


/* ------------------------------------------ */
/* 
 * reads : g_52 g_26 g_10 g_27 g_56 g_87 g_90 g_115 g_185 g_187 g_210 g_247 g_119 g_209.f0 g_268 g_269 g_277 g_216 g_319 g_209 g_322 g_191 g_369 g_378 g_400 g_339 g_416 g_423 g_428 g_317 g_535 g_519 g_507 g_343 g_565 g_566 g_609 g_613 g_516.f4 g_528 g_516.f2 g_652 g_417 g_537 g_516.f0 g_709 g_666 g_767 g_776 g_612 g_854 g_857 g_756 g_766.f4 g_909 g_766.f0 g_1311 g_1112 g_1330 g_1023 g_1024 g_1408 g_1425 g_1109 g_1110 g_1111 g_1469 g_1513 g_766.f2 g_1570 g_715 g_1498 g_967 g_1047 g_1213 g_1614 g_1652 g_1660 g_1601 g_1677 g_1710 g_1672 g_403 g_404 g_1075 g_1813 g_1833 g_710 g_711 g_777 g_766.f3 g_968 g_1956 g_1858.f0 g_2051 g_2055 g_1676 g_1651 g_2075 g_2084 g_2098 g_1834 g_1231 g_2151 g_2156 g_768 g_2208
 * writes: g_52 g_56 g_87 g_90 g_187 g_190 g_26 g_209 g_27 g_312 g_119 g_316 g_319 g_339 g_343 g_269 g_528 g_537 g_565 g_612 g_666 g_566 g_756 g_767 g_854 g_777 g_519 g_768 g_1498 g_652 g_317 g_423 g_1213 g_1651 g_1601 g_1672 g_1676 g_1112 g_967 g_1652.f0 g_968 g_1570 g_1858.f0 g_2051 g_1274
 */
static struct S1  func_53(int32_t  p_54)
{ /* block id: 10 */
    uint32_t l_912[1];
    const struct S1 l_913 = {0x33590F4560FC33B5LL};
    const int32_t **l_2197[7][1] = {{&g_1710},{&g_1710},{&g_1710},{&g_1710},{&g_1710},{&g_1710},{&g_1710}};
    int8_t *l_2202 = &g_967;
    uint8_t l_2207 = 0x81L;
    int32_t l_2214[8];
    int32_t *l_2215 = (void*)0;
    int32_t *l_2216 = (void*)0;
    int32_t *l_2217[6][6] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
    uint32_t l_2218 = 0xA149AF7BL;
    int i, j;
    for (i = 0; i < 1; i++)
        l_912[i] = 4294967290UL;
    for (i = 0; i < 8; i++)
        l_2214[i] = 0L;
    (*g_613) = func_57((safe_add_func_uint32_t_u_u(((*g_191) = func_64(p_54)), ((safe_mul_func_int8_t_s_s(((((safe_lshift_func_int16_t_s_u(((safe_lshift_func_int16_t_s_u((safe_rshift_func_int32_t_s_s((1L != (safe_sub_func_int64_t_s_s(((((0xF2973E43B7137F63LL <= (g_909[1] , (safe_mul_func_uint64_t_u_u(l_912[0], p_54)))) & g_766[6].f0) <= (l_913 , 1L)) == 9L), g_652[2][4]))), 5)), g_766[6].f0)) , 0x8CA5L), 11)) , p_54) | l_913.f0) , g_10), g_423)) && l_912[0]))), &g_519, l_913.f0, p_54);
    (*g_2208) = ((p_54 || p_54) , (((safe_mod_func_int8_t_s_s(((*l_2202) = (safe_mul_func_uint8_t_u_u((*g_1112), (&l_2197[2][0] == &l_2197[5][0])))), (safe_mod_func_int16_t_s_s(p_54, (safe_mul_func_int32_t_s_s(0x9FE1515AL, (((((p_54 || ((g_968[0][6][2] = p_54) , p_54)) , p_54) > 0L) && p_54) , p_54))))))) && (*g_277)) ^ l_2207));
    for (g_27 = 0; (g_27 == 21); g_27++)
    { /* block id: 1028 */
        int32_t *l_2213 = &g_519;
        for (g_319 = (-19); (g_319 >= (-3)); g_319 = safe_add_func_uint32_t_u_u(g_319, 4))
        { /* block id: 1031 */
            l_2213 = l_2213;
            return l_913;
        }
        (*l_2213) = (*g_2151);
    }
    l_2218--;
    return l_913;
}


/* ------------------------------------------ */
/* 
 * reads : g_191 g_187 g_776 g_519 g_339 g_1311 g_343 g_1112 g_90 g_417 g_1330 g_1023 g_1024 g_247.f4 g_428 g_209 g_56 g_1408 g_1425 g_767 g_416 g_1109 g_1110 g_1111 g_1469 g_537 g_652 g_1513 g_319 g_766.f2 g_87 g_115 g_10 g_52 g_27 g_185 g_210 g_247 g_119 g_268 g_269 g_277 g_216 g_1570 g_715 g_1498 g_967 g_1047 g_535 g_1213 g_1614 g_1652 g_1660 g_1601 g_1677 g_1710 g_1672 g_403 g_404 g_1075 g_1813 g_1833 g_565 g_566 g_709 g_710 g_711 g_317 g_777 g_766.f3 g_968 g_1956 g_609.f4 g_1858.f0 g_766.f0 g_2051 g_2055 g_1676 g_1651 g_2075 g_2084 g_2098 g_1834 g_1231 g_2151 g_2156 g_423 g_768
 * writes: g_187 g_777 g_339 g_343 g_519 g_26 g_209.f0 g_537 g_768 g_90 g_1498 g_652 g_319 g_87 g_190 g_209 g_27 g_312 g_119 g_612 g_317 g_423 g_1213 g_1651 g_1601 g_1672 g_1676 g_1112 g_967 g_756 g_1652.f0 g_968 g_52 g_1570 g_1858.f0 g_2051 g_528 g_1274
 */
static const int32_t * func_57(int64_t  p_58, int32_t * p_59, int64_t  p_60, uint8_t  p_61)
{ /* block id: 398 */
    uint8_t * const ****l_920 = (void*)0;
    int32_t l_947 = 0x37F9B145L;
    int16_t l_952 = 0L;
    int32_t l_982 = 0x151413F1L;
    int32_t l_984[3][4][6] = {{{0xBBD1EC84L,0xBBD1EC84L,0xEB1C3359L,4L,0L,4L},{(-10L),0xBBD1EC84L,(-10L),0L,0xEB1C3359L,0xEB1C3359L},{0L,(-10L),(-10L),0L,0xBBD1EC84L,4L},{4L,0L,0xEB1C3359L,0L,4L,0L}},{{0L,4L,0L,0L,4L,0L},{(-10L),0L,0xBBD1EC84L,4L,0xBBD1EC84L,0L},{0xBBD1EC84L,(-10L),0L,0xEB1C3359L,0xEB1C3359L,0L},{0xBBD1EC84L,0xBBD1EC84L,0xEB1C3359L,4L,0L,4L}},{{4L,0L,4L,0xEB1C3359L,0xBBD1EC84L,0xBBD1EC84L},{(-10L),4L,4L,(-10L),0L,0L},{0L,(-10L),0xBBD1EC84L,(-10L),0L,0xEB1C3359L},{(-10L),0L,0xEB1C3359L,0xEB1C3359L,0L,(-10L)}}};
    struct S1 l_996 = {0xAFBB246E529D34FBLL};
    uint32_t l_1114[10] = {0x2D839CFCL,0x2D839CFCL,0x2D839CFCL,0x2D839CFCL,0x2D839CFCL,0x2D839CFCL,0x2D839CFCL,0x2D839CFCL,0x2D839CFCL,0x2D839CFCL};
    uint64_t l_1159[10] = {18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL};
    uint16_t l_1185[4] = {5UL,5UL,5UL,5UL};
    const int32_t **l_1221 = &g_612[2][5][1];
    const int32_t ***l_1220[5] = {&l_1221,&l_1221,&l_1221,&l_1221,&l_1221};
    int32_t ***l_1222 = &g_312;
    int8_t l_1273[9][10][1] = {{{0x65L},{0x39L},{0xB1L},{0xB2L},{1L},{7L},{0x65L},{0xDCL},{0xD6L},{0xB2L}},{{0xD6L},{0xDCL},{0x65L},{7L},{1L},{0xB2L},{0xB1L},{0x39L},{0x65L},{0x39L}},{{0xB1L},{0xB2L},{1L},{7L},{0x65L},{0xDCL},{0xD6L},{0xB2L},{0xD6L},{0xDCL}},{{0x65L},{7L},{1L},{0xB2L},{0xB1L},{0x39L},{0x65L},{0x39L},{0xB1L},{0xB2L}},{{1L},{7L},{0x65L},{0xDCL},{0xD6L},{0xB2L},{0xD6L},{0xDCL},{0x65L},{7L}},{{1L},{0xB2L},{0xB1L},{0x39L},{0x65L},{0x39L},{0xB1L},{0xB2L},{1L},{7L}},{{0x65L},{0xDCL},{0xD6L},{0xB2L},{0xD6L},{0xDCL},{0x65L},{7L},{1L},{0xB2L}},{{0xB1L},{0x39L},{0x65L},{0x39L},{0xB1L},{0xB2L},{1L},{7L},{0x65L},{0xDCL}},{{0xD6L},{0xB2L},{0xD6L},{0xDCL},{0x65L},{7L},{1L},{0xB2L},{0xB1L},{0x39L}}};
    int64_t l_1287 = 1L;
    int8_t l_1289 = 5L;
    uint16_t l_1290 = 0UL;
    int32_t *l_1299 = &g_1213;
    struct S1 *l_1302 = (void*)0;
    uint32_t *l_1306 = &g_339[0];
    uint16_t *l_1320 = &l_1185[3];
    struct S0 *l_1428 = (void*)0;
    int64_t l_1505 = 0xBCE8C7BB2C3E6EE0LL;
    int32_t l_1511 = 0x5A54A1C9L;
    int32_t l_1624 = 0xA3C58BF7L;
    int32_t l_1638[2];
    uint8_t **l_1657[6][2] = {{&g_1112,&g_1112},{&g_1112,&g_1112},{&g_1112,&g_1112},{&g_1112,&g_1112},{&g_1112,&g_1112},{&g_1112,&g_1112}};
    int16_t l_1688[8];
    int64_t l_1690 = 0L;
    int8_t l_1705 = 0x9EL;
    int64_t l_1709 = 0xE038CBF5BE7C1434LL;
    int32_t **l_1764 = &g_26[2];
    int32_t l_1777 = 0xF10F7650L;
    uint8_t l_1794 = 0xACL;
    const uint8_t **l_1807 = (void*)0;
    const uint8_t ***l_1806 = &l_1807;
    const uint8_t ****l_1805[9][4][7] = {{{&l_1806,(void*)0,&l_1806,&l_1806,(void*)0,&l_1806,&l_1806},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,(void*)0,&l_1806},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,(void*)0}},{{(void*)0,(void*)0,&l_1806,&l_1806,(void*)0,&l_1806,&l_1806},{&l_1806,&l_1806,&l_1806,(void*)0,(void*)0,(void*)0,(void*)0},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{&l_1806,(void*)0,&l_1806,&l_1806,&l_1806,&l_1806,(void*)0}},{{&l_1806,&l_1806,(void*)0,&l_1806,(void*)0,&l_1806,&l_1806},{(void*)0,&l_1806,&l_1806,&l_1806,&l_1806,(void*)0,&l_1806},{&l_1806,&l_1806,(void*)0,&l_1806,&l_1806,&l_1806,&l_1806},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,(void*)0}},{{(void*)0,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{&l_1806,&l_1806,&l_1806,(void*)0,&l_1806,&l_1806,(void*)0},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{(void*)0,(void*)0,&l_1806,(void*)0,&l_1806,&l_1806,&l_1806}},{{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{&l_1806,&l_1806,&l_1806,(void*)0,&l_1806,(void*)0,&l_1806},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{&l_1806,(void*)0,&l_1806,&l_1806,&l_1806,&l_1806,(void*)0}},{{&l_1806,&l_1806,&l_1806,&l_1806,(void*)0,&l_1806,(void*)0},{(void*)0,&l_1806,&l_1806,&l_1806,&l_1806,(void*)0,&l_1806},{&l_1806,&l_1806,(void*)0,&l_1806,&l_1806,(void*)0,&l_1806},{&l_1806,&l_1806,&l_1806,&l_1806,(void*)0,&l_1806,(void*)0}},{{(void*)0,&l_1806,(void*)0,&l_1806,&l_1806,&l_1806,(void*)0},{&l_1806,&l_1806,(void*)0,(void*)0,&l_1806,&l_1806,(void*)0},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{(void*)0,(void*)0,&l_1806,(void*)0,&l_1806,&l_1806,&l_1806}},{{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,(void*)0,(void*)0},{&l_1806,&l_1806,&l_1806,(void*)0,(void*)0,(void*)0,(void*)0},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{&l_1806,(void*)0,(void*)0,&l_1806,&l_1806,&l_1806,&l_1806}},{{&l_1806,&l_1806,&l_1806,&l_1806,(void*)0,&l_1806,(void*)0},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806,&l_1806},{(void*)0,&l_1806,&l_1806,(void*)0,&l_1806,&l_1806,&l_1806}}};
    uint32_t ***l_1836 = &g_1834;
    int16_t **l_1860[1][2];
    uint64_t l_1863 = 18446744073709551615UL;
    uint64_t l_1991[9][7] = {{3UL,3UL,18446744073709551615UL,1UL,18446744073709551615UL,3UL,3UL},{18446744073709551614UL,1UL,18446744073709551614UL,1UL,18446744073709551614UL,18446744073709551614UL,1UL},{18446744073709551611UL,0xBFC5A8DF56022C56LL,18446744073709551611UL,18446744073709551615UL,18446744073709551615UL,18446744073709551611UL,0xBFC5A8DF56022C56LL},{1UL,0x0111600FC0BCF6CALL,18446744073709551614UL,18446744073709551614UL,0x0111600FC0BCF6CALL,1UL,0x0111600FC0BCF6CALL},{18446744073709551611UL,18446744073709551615UL,18446744073709551615UL,18446744073709551611UL,0xBFC5A8DF56022C56LL,18446744073709551611UL,18446744073709551615UL},{18446744073709551614UL,18446744073709551614UL,1UL,18446744073709551614UL,1UL,18446744073709551614UL,18446744073709551614UL},{3UL,18446744073709551615UL,1UL,18446744073709551615UL,3UL,3UL,18446744073709551615UL},{0xB2C49D043EAC45E9LL,0x0111600FC0BCF6CALL,0xB2C49D043EAC45E9LL,1UL,1UL,0xB2C49D043EAC45E9LL,0x0111600FC0BCF6CALL},{18446744073709551615UL,0xBFC5A8DF56022C56LL,1UL,1UL,0xBFC5A8DF56022C56LL,18446744073709551615UL,0xBFC5A8DF56022C56LL}};
    int8_t l_2008 = (-1L);
    uint16_t l_2048[6];
    int8_t l_2065 = 6L;
    uint16_t *l_2068 = &l_1290;
    int32_t l_2105[10][5][5] = {{{(-1L),(-7L),0xB083A8F2L,0xB083A8F2L,(-7L)},{8L,2L,0x7A227D16L,(-5L),(-3L)},{0xDFF97149L,9L,1L,0x8379B514L,(-1L)},{0x7A227D16L,0xC24DBF19L,0xE7C60055L,0x03B9F552L,0x510C152DL},{0xDFF97149L,0xD86B2D9CL,(-10L),0xDFF97149L,0L}},{{8L,(-10L),0L,0xC24DBF19L,0x4273D366L},{(-1L),0x456072D9L,(-1L),0L,0xDFF97149L},{0x4273D366L,0xB1BFD092L,0x7AB58BE9L,(-1L),(-3L)},{(-10L),0xE8D80363L,0xA2108740L,(-1L),0x8379B514L},{0x5CEA5876L,(-5L),0x7AB58BE9L,0x03B9F552L,0x7F95F752L}},{{9L,(-1L),(-1L),(-7L),0xB083A8F2L},{(-1L),(-4L),0L,(-4L),(-1L)},{1L,(-10L),(-10L),0xB083A8F2L,(-9L)},{0xB3FAFD3DL,0xB1BFD092L,0xE7C60055L,0x82F0831DL,0x7AB58BE9L},{(-7L),0xDFF97149L,1L,(-10L),(-9L)}},{{0x5CEA5876L,0x82F0831DL,0x7A227D16L,0L,(-1L)},{(-9L),0xD86B2D9CL,0xB083A8F2L,0xE8D80363L,0xB083A8F2L},{4L,0L,(-10L),(-2L),0x7F95F752L},{(-1L),0x8379B514L,(-4L),0xB083A8F2L,0x8379B514L},{0x59801387L,2L,0x1AEDC3FFL,(-10L),(-3L)}},{{(-1L),0x8379B514L,(-10L),0L,0xD86B2D9CL},{0xFAD0C882L,0x82B01ECAL,(-1L),9L,0x7A227D16L},{(-10L),(-1L),(-1L),(-10L),5L},{0x7AB58BE9L,2L,0x510C152DL,0x82B01ECAL,0x5CEA5876L},{(-1L),0xD86B2D9CL,0x4E9AA8BFL,5L,(-1L)}},{{0x5CEA5876L,1L,0xFE5C9244L,0x82B01ECAL,0xD2EB61FAL},{1L,(-1L),0xE8D80363L,(-10L),(-4L)},{1L,0xDD858A35L,0xD2EB61FAL,9L,0xC5149C07L},{0xB083A8F2L,1L,0L,0L,0x459A88F7L},{1L,0L,0x510C152DL,0x03B9F552L,0xE7C60055L}},{{0L,1L,1L,0x459A88F7L,(-1L)},{1L,1L,(-10L),0xB1BFD092L,0xC4A53BA4L},{0xB083A8F2L,(-10L),(-10L),1L,1L},{1L,0xBA1D78A9L,1L,0xE96CF45BL,1L},{1L,(-1L),5L,(-1L),0x459A88F7L}},{{0x5CEA5876L,0xE0BCCB9BL,0x4273D366L,2L,(-3L)},{(-1L),0L,5L,0x459A88F7L,0L},{0x7AB58BE9L,0x8EB59F44L,1L,0xDD858A35L,0xD2EB61FAL},{(-10L),(-4L),(-10L),(-4L),(-10L)},{0xFAD0C882L,1L,(-10L),9L,0x1AEDC3FFL}},{{(-1L),(-1L),1L,(-1L),5L},{0xC5149C07L,0xB1BFD092L,0x510C152DL,1L,0x1AEDC3FFL},{(-1L),(-1L),0L,5L,(-10L)},{0x1AEDC3FFL,1L,0xD2EB61FAL,0xE0BCCB9BL,0xD2EB61FAL},{(-4L),(-4L),0xE8D80363L,0xD86B2D9CL,0L}},{{1L,0x03B9F552L,0xFE5C9244L,9L,(-3L)},{(-4L),1L,0x4E9AA8BFL,0xB083A8F2L,0x459A88F7L},{0xE7C60055L,0x03B9F552L,0x510C152DL,0L,1L},{0L,(-4L),(-1L),0x459A88F7L,1L},{9L,1L,(-1L),0xBA1D78A9L,0xC4A53BA4L}}};
    uint16_t l_2106 = 6UL;
    uint8_t l_2189 = 0xECL;
    int i, j, k;
    for (i = 0; i < 2; i++)
        l_1638[i] = 0xC1BCFB3FL;
    for (i = 0; i < 8; i++)
        l_1688[i] = 0L;
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 2; j++)
            l_1860[i][j] = &g_1274[0];
    }
    for (i = 0; i < 6; i++)
        l_2048[i] = 0x48D1L;
lbl_1896:
    for (g_187 = 0; (g_187 == 7); g_187 = safe_add_func_uint64_t_u_u(g_187, 8))
    { /* block id: 401 */
        int64_t l_923[3][2] = {{2L,2L},{2L,2L},{2L,2L}};
        uint32_t *l_945 = &g_339[0];
        int32_t l_946 = (-2L);
        int64_t l_948 = 0x04EE0E0786334D69LL;
        const struct S1 l_949 = {1L};
        uint64_t l_950 = 0x980124B762F77178LL;
        int64_t l_951[3][4] = {{(-1L),(-1L),0x0269ACCBD1195A47LL,(-1L)},{(-1L),0L,0L,(-1L)},{0L,(-1L),0L,0L}};
        uint16_t *l_957[6][7] = {{&g_119,&g_119,&g_119,&g_119,&g_119,&g_119,&g_119},{&g_756,&g_119,&g_756,&g_119,&g_756,&g_119,&g_756},{&g_119,&g_119,&g_119,&g_119,&g_119,&g_119,&g_119},{&g_756,&g_119,&g_756,&g_119,&g_756,&g_119,&g_756},{&g_119,&g_119,&g_119,&g_119,&g_119,&g_119,&g_119},{&g_756,&g_119,&g_756,&g_119,&g_756,&g_119,&g_756}};
        uint64_t l_966[5] = {0xDF6F47C40634CAF8LL,0xDF6F47C40634CAF8LL,0xDF6F47C40634CAF8LL,0xDF6F47C40634CAF8LL,0xDF6F47C40634CAF8LL};
        int32_t l_971 = 0x9480B02FL;
        int64_t l_983 = 0x641E240FCDA7A538LL;
        uint16_t l_985 = 0x44A0L;
        int8_t *l_1007[5][6];
        uint8_t **l_1015 = (void*)0;
        uint8_t ***l_1014 = &l_1015;
        uint64_t l_1034 = 18446744073709551615UL;
        int32_t *l_1045[2][9] = {{&g_652[3][8],&g_652[3][8],&g_652[2][4],&g_652[2][6],(void*)0,&g_652[2][6],&g_652[2][4],&g_652[3][8],&g_652[3][8]},{(void*)0,&g_519,&g_652[3][8],&g_652[2][6],&g_652[3][8],&g_519,(void*)0,(void*)0,&g_519}};
        uint8_t l_1083 = 250UL;
        const int32_t *****l_1208 = (void*)0;
        int32_t *****l_1210 = &g_565;
        int32_t l_1212 = (-1L);
        int8_t l_1244 = 0L;
        int16_t **l_1275 = &g_1274[0];
        int64_t *l_1278 = &l_996.f0;
        int64_t *l_1279 = &l_951[1][3];
        int64_t l_1288 = 0xC4FC1F6DAB30767BLL;
        int i, j;
        for (i = 0; i < 5; i++)
        {
            for (j = 0; j < 6; j++)
                l_1007[i][j] = (void*)0;
        }
    }
    if ((safe_sub_func_uint64_t_u_u((safe_sub_func_uint32_t_u_u((*g_191), (safe_lshift_func_int64_t_s_u((((*g_776) = l_1299) == p_59), (((safe_div_func_uint64_t_u_u((((l_1302 = &l_996) != &g_909[1]) & (~(safe_lshift_func_int32_t_s_s((*p_59), ((-3L) && p_58))))), ((--(*l_1306)) || (safe_mod_func_uint16_t_u_u(((*p_59) && p_58), p_60))))) && p_58) & p_60))))), g_1311)))
    { /* block id: 621 */
        int32_t l_1314 = 1L;
        uint16_t *l_1315 = &g_119;
        uint16_t *l_1316 = (void*)0;
        uint16_t **l_1317 = &l_1316;
        uint64_t *l_1318 = (void*)0;
        uint64_t *l_1319 = &g_343;
        int8_t l_1377 = (-2L);
        uint8_t ***l_1467[1][6] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
        uint8_t ****l_1466 = &l_1467[0][0];
        uint8_t *****l_1465 = &l_1466;
        uint64_t l_1493 = 0xC70CE9C9BF2E84C1LL;
        int16_t l_1569[2];
        int32_t l_1579 = 0xB1E2B9DAL;
        int32_t l_1581 = (-6L);
        int32_t l_1617[5] = {0x9B3CEE39L,0x9B3CEE39L,0x9B3CEE39L,0x9B3CEE39L,0x9B3CEE39L};
        uint64_t l_1634 = 0x978FA97AD5DEAD27LL;
        int8_t l_1641 = (-1L);
        int16_t l_1680 = 0x0989L;
        int16_t *l_1689[9] = {&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87};
        int32_t ***l_1694 = &g_776;
        int64_t *l_1706[8][8][1] = {{{&g_909[1].f0},{&g_209.f0},{&l_1690},{(void*)0},{&g_209.f0},{(void*)0},{&g_209.f0},{(void*)0}},{{&l_1690},{&g_209.f0},{&g_909[1].f0},{&g_209.f0},{&l_1690},{(void*)0},{&g_209.f0},{(void*)0}},{{&g_209.f0},{(void*)0},{&l_1690},{&g_209.f0},{&g_909[1].f0},{&g_209.f0},{&l_1690},{(void*)0}},{{&g_209.f0},{(void*)0},{&g_209.f0},{(void*)0},{&l_1690},{&g_209.f0},{&g_909[1].f0},{&g_209.f0}},{{&l_1690},{(void*)0},{&g_209.f0},{(void*)0},{&g_209.f0},{(void*)0},{&l_1690},{&g_209.f0}},{{&g_909[1].f0},{&g_209.f0},{&l_1690},{(void*)0},{&g_209.f0},{(void*)0},{&g_209.f0},{(void*)0}},{{&l_1690},{&g_209.f0},{&g_909[1].f0},{&g_209.f0},{&l_1690},{(void*)0},{&g_209.f0},{(void*)0}},{{&g_209.f0},{(void*)0},{&l_1690},{&g_209.f0},{&g_909[1].f0},{&g_209.f0},{&l_1690},{(void*)0}}};
        struct S1 l_1732 = {0x189A022FE5F29CC1LL};
        const uint32_t l_1734 = 18446744073709551608UL;
        int i, j, k;
        for (i = 0; i < 2; i++)
            l_1569[i] = 0x8A51L;
        if (((*p_59) = ((((((*l_1319) &= (safe_sub_func_uint64_t_u_u(l_1314, ((*g_191) , ((l_1315 != ((*l_1317) = l_1316)) ^ (&g_528 != &g_207)))))) , l_1314) || ((l_1320 = &l_1290) == (void*)0)) | (*g_1112)) != (*g_417))))
        { /* block id: 626 */
            int64_t l_1334 = 0x4A556F9626A94054LL;
            int32_t l_1339 = 0x04228648L;
            int32_t l_1396[2];
            uint8_t l_1426 = 255UL;
            uint8_t l_1468 = 251UL;
            struct S0 ***l_1492 = &g_767;
            uint8_t l_1536 = 0xA5L;
            uint32_t * const *l_1540[4][8][3] = {{{&g_316,&g_316,&g_316},{&g_316,(void*)0,(void*)0},{(void*)0,&g_316,&g_316},{&g_316,(void*)0,(void*)0},{&g_316,(void*)0,&g_316},{&g_316,(void*)0,&g_316},{&g_316,(void*)0,&g_316},{&g_316,(void*)0,&g_316}},{{(void*)0,&g_316,(void*)0},{(void*)0,(void*)0,&g_316},{&g_316,&g_316,&g_316},{&g_316,&g_316,&g_316},{&g_316,&g_316,(void*)0},{&g_316,(void*)0,&g_316},{&g_316,(void*)0,&g_316},{&g_316,&g_316,&g_316}},{{(void*)0,(void*)0,&g_316},{(void*)0,&g_316,&g_316},{&g_316,&g_316,&g_316},{&g_316,&g_316,&g_316},{&g_316,&g_316,&g_316},{&g_316,(void*)0,&g_316},{&g_316,(void*)0,&g_316},{&g_316,&g_316,&g_316}},{{&g_316,&g_316,(void*)0},{&g_316,(void*)0,&g_316},{&g_316,&g_316,&g_316},{(void*)0,&g_316,&g_316},{&g_316,(void*)0,(void*)0},{&g_316,&g_316,&g_316},{&g_316,&g_316,&g_316},{&g_316,(void*)0,&g_316}}};
            uint32_t * const * const *l_1539 = &l_1540[0][2][0];
            uint8_t l_1604 = 0x46L;
            int i, j, k;
            for (i = 0; i < 2; i++)
                l_1396[i] = 1L;
            for (g_519 = 0; (g_519 >= (-22)); --g_519)
            { /* block id: 629 */
                int32_t * const l_1323 = &g_519;
                int32_t **l_1324 = (void*)0;
                int32_t **l_1327 = &g_26[2];
                int32_t l_1336 = 0xBA5A0EA9L;
                uint32_t l_1399 = 1UL;
                int16_t l_1451 = 9L;
                (*l_1327) = (p_61 , l_1323);
                if ((safe_rshift_func_uint16_t_u_u((g_1330 , (**g_1023)), 8)))
                { /* block id: 631 */
                    uint8_t l_1341[10] = {0UL,0x55L,0UL,0x55L,0UL,0x55L,0UL,0x55L,0UL,0x55L};
                    int16_t l_1346[3];
                    const struct S1 *l_1375 = &g_909[1];
                    const struct S1 **l_1376 = &l_1375;
                    int16_t *l_1378 = &l_1346[1];
                    int32_t l_1385 = 0L;
                    int i;
                    for (i = 0; i < 3; i++)
                        l_1346[i] = 2L;
                    if ((safe_add_func_int64_t_s_s((!l_1314), (p_58 , (-8L)))))
                    { /* block id: 632 */
                        int32_t *l_1335 = &g_652[2][4];
                        int32_t *l_1337 = &l_982;
                        int32_t *l_1338 = &g_652[2][4];
                        int32_t *l_1340[2];
                        int i;
                        for (i = 0; i < 2; i++)
                            l_1340[i] = &l_1314;
                        --l_1341[5];
                        if (p_58)
                            goto lbl_1691;
                    }
                    else
                    { /* block id: 634 */
                        int64_t *l_1358 = &l_1287;
                        int8_t *l_1363 = &l_1289;
                        int64_t *l_1364 = &g_209.f0;
                        l_1339 = (((*l_1364) = (((safe_div_func_int32_t_s_s(1L, l_1346[1])) || (safe_rshift_func_uint16_t_u_s((l_1341[5] == ((p_58 | (l_1314 = 0UL)) <= ((*l_1363) = (((~(((safe_lshift_func_int64_t_s_u(((*l_1358) = (safe_lshift_func_uint64_t_u_s(18446744073709551615UL, 63))), 29)) & (*l_1323)) && ((safe_div_func_int16_t_s_s(p_60, (safe_rshift_func_int32_t_s_u(l_1341[5], 23)))) | 0x1988L))) , 0xA5A5L) ^ p_60)))), 11))) == 1UL)) ^ 1UL);
                    }
                    (*l_1302) = (*g_428);
                    for (g_537 = 0; (g_537 == 26); g_537++)
                    { /* block id: 644 */
                        (*l_1302) = (*l_1302);
                    }
                    l_1385 &= (safe_mod_func_int8_t_s_s((safe_mod_func_uint32_t_u_u((*l_1323), (safe_mul_func_uint32_t_u_u((((l_1334 | ((((*l_1376) = l_1375) == ((((p_59 != (void*)0) != l_1314) && (((*l_1378) |= l_1377) >= (safe_rshift_func_uint8_t_u_u((p_60 , (safe_add_func_uint64_t_u_u((safe_lshift_func_uint32_t_u_u(p_60, p_60)), 18446744073709551615UL))), 3)))) , (void*)0)) == p_61)) & p_58) < 246UL), l_1314)))), 0xC0L));
                }
                else
                { /* block id: 650 */
                    int8_t l_1386[2][5] = {{0x78L,(-5L),0x78L,(-5L),0x78L},{(-1L),(-1L),(-1L),(-1L),(-1L)}};
                    int32_t l_1397 = 0x81599A54L;
                    int32_t l_1398 = 0x88DF90D6L;
                    int i, j;
                    for (l_1334 = 0; (l_1334 <= 4); l_1334 += 1)
                    { /* block id: 653 */
                        int32_t l_1387 = (-6L);
                        int32_t *l_1388 = (void*)0;
                        int32_t *l_1389 = &g_652[2][5];
                        int32_t *l_1390 = &l_947;
                        int32_t *l_1391 = &g_652[8][6];
                        int32_t *l_1392 = &l_984[1][3][0];
                        int32_t *l_1393 = &g_652[2][4];
                        int32_t *l_1394 = &l_1387;
                        int32_t *l_1395[9] = {&l_1339,&g_652[2][4],&l_1339,&g_652[2][4],&l_1339,&g_652[2][4],&l_1339,&g_652[2][4],&l_1339};
                        int i;
                        if (l_1386[1][3])
                            break;
                        ++l_1399;
                        (*l_1327) = p_59;
                    }
                    for (g_343 = 0; (g_343 <= 4); g_343 += 1)
                    { /* block id: 660 */
                        int i;
                        return p_59;
                    }
                }
                for (g_187 = 0; (g_187 >= 51); g_187 = safe_add_func_int64_t_s_s(g_187, 2))
                { /* block id: 666 */
                    int32_t l_1411 = (-1L);
                    int32_t *l_1427[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                    int32_t l_1452 = (-1L);
                    int i;
                    l_1336 |= (((safe_add_func_int16_t_s_s((safe_sub_func_uint8_t_u_u((g_56 != (g_1408 , ((safe_mod_func_uint64_t_u_u(l_1411, p_61)) && ((((p_60 != (safe_div_func_uint8_t_u_u((safe_div_func_int32_t_s_s(((safe_rshift_func_uint64_t_u_s(1UL, l_1411)) ^ ((safe_div_func_int8_t_s_s((((+(p_58 ^ (((safe_lshift_func_int32_t_s_u((g_1425 , (*p_59)), (*g_191))) < (-1L)) || (*g_1112)))) != 0L) && l_1377), (*g_1112))) ^ p_61)), l_1426)), 1L))) ^ l_1411) >= p_61) > l_1334)))), 0x4FL)), p_61)) , p_58) | p_60);
                    if ((*l_1323))
                        break;
                    for (l_947 = 0; (l_947 <= 8); l_947 += 1)
                    { /* block id: 671 */
                        int32_t l_1450 = 0x17F1EAEEL;
                        int i;
                        (*g_767) = l_1428;
                        l_1396[0] |= ((g_1408 , ((p_60 || (((void*)0 == &g_1326[l_947]) , ((safe_mod_func_int64_t_s_s((((0x4207A020L == (((safe_rshift_func_uint8_t_u_u((~(safe_add_func_int64_t_s_s(((*p_59) && (safe_div_func_int8_t_s_s(((*g_191) | ((safe_mul_func_uint16_t_u_u((+(safe_lshift_func_int32_t_s_s((((+(safe_add_func_int64_t_s_s((safe_div_func_int32_t_s_s((-1L), (-6L))), l_1450))) , p_61) || l_1377), (*p_59)))), p_61)) <= p_58)), p_61))), (-4L)))), 6)) | l_1451) , l_1426)) && 0L) <= p_60), 0x3570E352D88E59A9LL)) == l_1452))) ^ p_58)) , (*p_59));
                        (*l_1327) = p_59;
                    }
                }
            }
            if (((safe_div_func_uint16_t_u_u((0xA8L >= (safe_mod_func_uint64_t_u_u((((((((void*)0 != &g_401[4][2][0]) <= (safe_mod_func_uint16_t_u_u((((safe_mod_func_int8_t_s_s((safe_rshift_func_uint32_t_u_u((l_1465 == (void*)0), 22)), ((****g_1109) = (**g_416)))) , (g_1408 , (((void*)0 == &l_1396[0]) , (void*)0))) == &g_566), l_1339))) <= 0L) , 0xA846E3D414D5587ELL) == 18446744073709551615UL) == l_1468), l_1396[0]))), 0x8969L)) && g_1469[0][5]))
            { /* block id: 679 */
                uint64_t l_1476 = 1UL;
                int64_t *l_1488 = &l_1334;
                (*p_59) = (safe_add_func_int64_t_s_s((safe_rshift_func_int16_t_s_s((l_1314 != (safe_mul_func_int32_t_s_s(l_1476, (*p_59)))), 0)), (+(safe_mod_func_int8_t_s_s(((((((safe_sub_func_uint64_t_u_u((safe_mul_func_int16_t_s_s((safe_rshift_func_uint32_t_u_u(1UL, (((safe_mul_func_uint8_t_u_u(((g_1408.f2 & ((*l_1488) &= p_60)) == ((p_58 , (((((safe_lshift_func_uint64_t_u_u(l_1468, (((+g_537) , &g_767) == l_1492))) , 0xB5A7L) , p_61) && (*g_191)) <= l_1476)) != (*g_1112))), l_1476)) , p_60) == 0x89L))), p_58)), l_1476)) ^ 9UL) > g_339[0]) > 0xD46AL) , &g_566) != (void*)0), g_187)))));
            }
            else
            { /* block id: 682 */
                int8_t l_1494 = 0xBCL;
                uint32_t l_1507[3];
                struct S0 **l_1508 = &l_1428;
                const struct S1 l_1516 = {8L};
                int32_t l_1518 = (-1L);
                uint8_t * const *l_1550 = &g_1112;
                uint8_t * const **l_1549 = &l_1550;
                int8_t **l_1565 = &g_1498;
                int32_t l_1576 = 0x044610C7L;
                int32_t l_1580[5][8][6] = {{{(-1L),0xF3BF2280L,(-8L),1L,(-9L),(-1L)},{0x5FF9D58EL,0x31128051L,0x8418E3D7L,0x89DE1989L,0xEFA2CB13L,0x89DE1989L},{0x5FF9D58EL,0x4949719DL,0x5FF9D58EL,1L,0L,0x40702F81L},{(-1L),(-9L),1L,(-8L),0xF3BF2280L,(-1L)},{0x5D0D7423L,0xEFA2CB13L,0x45AF284CL,(-8L),0xEFA2CB13L,1L},{(-1L),0L,0L,1L,0L,0x7E5A8031L},{0x5FF9D58EL,0xF3BF2280L,1L,0x89DE1989L,0x744479B6L,0x5FF9D58EL},{0x5FF9D58EL,0xEFA2CB13L,0x40702F81L,1L,0x31128051L,0x89DE1989L}},{{(-1L),0L,0x5D0D7423L,(-8L),0L,0x7E5A8031L},{0x5D0D7423L,0x744479B6L,(-8L),(-8L),0x744479B6L,0x5D0D7423L},{(-1L),0x31128051L,0x45AF284CL,1L,0xE349F685L,0x186A7F06L},{0x5FF9D58EL,0L,0x5D0D7423L,0x89DE1989L,0x4949719DL,0x40702F81L},{0x5FF9D58EL,0x744479B6L,0x89DE1989L,1L,0xF3BF2280L,0x5FF9D58EL},{(-1L),0xE349F685L,0x8418E3D7L,(-8L),0x31128051L,0x186A7F06L},{0x5D0D7423L,0x4949719DL,0L,(-8L),0x4949719DL,0x8418E3D7L},{(-1L),0xF3BF2280L,(-8L),1L,(-9L),(-1L)}},{{0x5FF9D58EL,0x31128051L,0x8418E3D7L,0x89DE1989L,0xEFA2CB13L,0x89DE1989L},{0x5FF9D58EL,0x4949719DL,0x5FF9D58EL,1L,0L,0x40702F81L},{(-1L),(-9L),1L,(-8L),0xF3BF2280L,(-1L)},{0x5D0D7423L,0xEFA2CB13L,0x45AF284CL,(-8L),0xEFA2CB13L,1L},{(-1L),0L,0L,1L,0L,0xDF655DCEL},{0xC937F509L,0x89DE1989L,0x1F8CC848L,0L,0x186A7F06L,0xC937F509L},{0xC937F509L,(-1L),0x8B0A3353L,0x1F8CC848L,0x5FF9D58EL,0L},{0x76CAD58CL,0x8418E3D7L,0x44FA0E59L,0xA4E7B3DEL,0x40702F81L,0xDF655DCEL}},{{0x44FA0E59L,0x186A7F06L,0xA4E7B3DEL,0xA4E7B3DEL,0x186A7F06L,0x44FA0E59L},{0x76CAD58CL,0x5FF9D58EL,0L,0x1F8CC848L,0x5D0D7423L,(-1L)},{0xC937F509L,0x40702F81L,0x44FA0E59L,0L,0x7E5A8031L,0x8B0A3353L},{0xC937F509L,0x186A7F06L,0L,0x1F8CC848L,0x89DE1989L,0xC937F509L},{0x76CAD58CL,0x5D0D7423L,0xECCAF962L,0xA4E7B3DEL,0x5FF9D58EL,(-1L)},{0x44FA0E59L,0x7E5A8031L,0xB7222996L,0xA4E7B3DEL,0x7E5A8031L,0xECCAF962L},{0x76CAD58CL,0x89DE1989L,0xA4E7B3DEL,0x1F8CC848L,1L,0x76CAD58CL},{0xC937F509L,0x5FF9D58EL,0xECCAF962L,0L,(-1L),0L}},{{0xC937F509L,0x7E5A8031L,0xC937F509L,0x1F8CC848L,0x40702F81L,0x8B0A3353L},{0x76CAD58CL,1L,0x1F8CC848L,0xA4E7B3DEL,0x89DE1989L,0x76CAD58CL},{0x44FA0E59L,(-1L),0L,0xA4E7B3DEL,(-1L),0x1F8CC848L},{0x76CAD58CL,0x40702F81L,0xB7222996L,0x1F8CC848L,0x8418E3D7L,0xDF655DCEL},{0xC937F509L,0x89DE1989L,0x1F8CC848L,0L,0x186A7F06L,0xC937F509L},{0xC937F509L,(-1L),0x8B0A3353L,0x1F8CC848L,0x5FF9D58EL,0L},{0x76CAD58CL,0x8418E3D7L,0x44FA0E59L,0xA4E7B3DEL,0x40702F81L,0xDF655DCEL},{0x44FA0E59L,0x186A7F06L,0xA4E7B3DEL,0xA4E7B3DEL,0x186A7F06L,0x44FA0E59L}}};
                uint32_t l_1582[2];
                int i, j, k;
                for (i = 0; i < 3; i++)
                    l_1507[i] = 0UL;
                for (i = 0; i < 2; i++)
                    l_1582[i] = 0x53DE3BC1L;
                if (((p_61 |= (l_1493 <= 0xA4E86BABL)) <= (((*l_1319) = 18446744073709551615UL) , p_58)))
                { /* block id: 685 */
                    int32_t *l_1495 = (void*)0;
                    int32_t *l_1497 = &l_947;
                    (*l_1497) ^= (l_1494 = (*p_59));
                }
                else
                { /* block id: 688 */
                    const int8_t l_1533 = 0x40L;
                    uint32_t *l_1545 = &l_1114[5];
                    if ((&l_1494 != (g_1498 = &l_1494)))
                    { /* block id: 690 */
                        int32_t *l_1512 = &g_652[0][2];
                        uint32_t l_1517 = 1UL;
                        (*g_1513) &= ((*l_1512) ^= (safe_add_func_uint32_t_u_u(((*p_59) & ((((safe_div_func_uint32_t_u_u((l_1505 != (~p_61)), (*p_59))) == l_1507[2]) > ((((void*)0 == l_1508) != (safe_lshift_func_uint32_t_u_s(l_1511, (((((p_58 < l_1396[1]) == 0xC8E1F5CE0B79B67CLL) , 0x2EL) | 0L) , (*p_59))))) < l_1507[2])) != 0x9DL)), l_1426)));
                        (*l_1221) = func_68((((l_1518 &= (l_1516 , l_1517)) > l_1507[2]) ^ ((((safe_div_func_int64_t_s_s(0xFD1A419DF4D541F8LL, (safe_sub_func_uint32_t_u_u(l_1334, (l_1396[1] = 1L))))) > ((((safe_lshift_func_uint16_t_u_s((safe_lshift_func_int8_t_s_s(l_1516.f0, (((((safe_rshift_func_uint64_t_u_u(((safe_rshift_func_uint8_t_u_u(((safe_add_func_int8_t_s_s(((l_1533 , (safe_sub_func_int32_t_s_s((*l_1512), p_60))) != l_1334), p_61)) || l_1314), l_1426)) | p_61), g_766[6].f2)) != 0x79990904L) , 0L) , 3UL) , l_1516.f0))), 5)) , p_60) != l_1493) | 0x402FL)) & p_61) < p_60)), &g_317[0], l_1533, (*l_1302));
                        (*l_1512) ^= l_1536;
                    }
                    else
                    { /* block id: 697 */
                        int16_t l_1546 = 0x668BL;
                        l_1518 ^= (safe_rshift_func_uint64_t_u_s(((((*p_59) | ((&g_401[3][2][0] != l_1539) & (safe_lshift_func_int64_t_s_s((safe_div_func_int8_t_s_s(((void*)0 == l_1545), l_1546)), ((safe_sub_func_int16_t_s_s(((void*)0 != l_1549), (p_61 ^ 0x551C9A5B9B894E91LL))) , (-10L)))))) != (*g_1024)) < 0xD9BC4F21L), 62));
                        return p_59;
                    }
                }
                for (l_1493 = 0; (l_1493 <= 0); l_1493 += 1)
                { /* block id: 704 */
                    int8_t **l_1566 = &g_1498;
                    const uint8_t **l_1568 = (void*)0;
                    const uint8_t ***l_1567 = &l_1568;
                    const int32_t l_1571 = 6L;
                    int32_t l_1574 = 0L;
                    int32_t l_1575 = (-10L);
                    int32_t l_1577 = 0xD03355E8L;
                    for (l_1518 = 0; (l_1518 <= 0); l_1518 += 1)
                    { /* block id: 707 */
                        int32_t *l_1572 = &g_652[2][5];
                        int32_t *l_1573[7][1] = {{&l_984[2][2][1]},{&g_27},{&l_984[2][2][1]},{&g_27},{&l_984[2][2][1]},{&g_27},{&l_984[2][2][1]}};
                        int16_t l_1578 = 1L;
                        int32_t * const l_1600 = &g_1601;
                        int32_t * const *l_1599 = &l_1600;
                        int i, j;
                        (*p_59) &= (safe_add_func_int8_t_s_s(((safe_rshift_func_int32_t_s_u((safe_mod_func_uint64_t_u_u(((g_90[(l_1518 + 4)][l_1493] == (safe_sub_func_uint16_t_u_u((((safe_sub_func_int32_t_s_s(((safe_div_func_int8_t_s_s((((p_60 , g_1425) , (safe_mul_func_int32_t_s_s(((l_1565 == l_1566) || p_60), (p_58 || ((l_1567 != (*g_1109)) ^ 0xAAD523EDL))))) , 0xCCL), g_90[(l_1518 + 4)][l_1493])) > (-9L)), l_1377)) , l_1516) , l_1569[1]), p_60))) > g_1570), l_1571)), 7)) || (*g_1024)), (***g_1110)));
                        --l_1582[0];
                        (*g_1047) = func_68(p_58, &g_317[0], (safe_unary_minus_func_uint16_t_u((((*l_1319) = (0L | (((safe_sub_func_uint16_t_u_u(0x7817L, (((((safe_mod_func_uint64_t_u_u((safe_add_func_uint8_t_u_u(((safe_mod_func_int32_t_s_s(((l_1580[1][3][0] = (((8L >= (((&p_59 != (l_1599 = ((safe_lshift_func_int32_t_s_s((safe_unary_minus_func_uint16_t_u((((void*)0 == &p_59) != (safe_mul_func_uint32_t_u_u(0UL, p_60))))), 17)) , &l_1573[2][0]))) , 0x84L) == l_1579)) <= p_61) || p_58)) == p_61), (*g_1513))) > g_715), p_58)), p_61)) >= 0xDDL) || (*g_417)) , 0xC8L) == (*g_1498)))) >= 0L) , (**g_1111)))) > l_1569[1]))), l_1516);
                    }
                    return p_59;
                }
            }
            (*l_1302) = (*l_1302);
            l_1396[0] |= (((((safe_add_func_uint64_t_u_u(g_52, 18446744073709551615UL)) >= ((0x46A79751C16829B5LL ^ (-8L)) , 1L)) && ((l_1604 & (((-1L) == (safe_rshift_func_int64_t_s_u(((safe_mod_func_uint32_t_u_u(((*g_191) = ((g_423 = (safe_unary_minus_func_int64_t_s(((l_1604 >= ((((g_317[0] = p_61) , (*p_59)) != (*p_59)) || 0xAF3E5694L)) || 65535UL)))) , l_1569[1])), 5UL)) , p_60), g_535))) <= l_1377)) == l_1493)) | l_1339) <= 1UL);
        }
        else
        { /* block id: 723 */
            struct S1 *l_1610[5];
            int32_t l_1622 = (-9L);
            int32_t l_1623 = 0x394BB32EL;
            int32_t l_1626 = 0xD230DAE3L;
            int32_t l_1627 = 0x6BFECA5BL;
            int32_t l_1629 = 0L;
            int32_t l_1630[5][5] = {{0L,7L,7L,0L,(-1L)},{0L,0x9EF4BD7CL,0L,0L,0x9EF4BD7CL},{(-1L),7L,0L,(-6L),(-6L)},{7L,(-1L),7L,0L,(-6L)},{0x9EF4BD7CL,0L,(-6L),0L,0x9EF4BD7CL}};
            int64_t l_1648 = 0x2EF620BDCA60EC55LL;
            int i, j;
            for (i = 0; i < 5; i++)
                l_1610[i] = &l_996;
            if ((*p_59))
            { /* block id: 724 */
                struct S1 **l_1611 = &l_1610[3];
                (*p_59) |= (&g_909[2] != ((*l_1611) = l_1610[2]));
                for (g_1213 = (-28); (g_1213 >= 23); ++g_1213)
                { /* block id: 729 */
                    return p_59;
                }
            }
            else
            { /* block id: 732 */
                int8_t l_1620 = 2L;
                int32_t l_1625 = (-8L);
                int32_t l_1628 = (-1L);
                int32_t l_1631 = (-1L);
                int32_t l_1632 = 0x09733AD6L;
                int32_t l_1633[7];
                uint64_t l_1659[5][1];
                struct S1 **l_1670 = (void*)0;
                struct S1 **l_1671[6] = {&l_1610[1],&l_1610[1],&l_1610[1],&l_1610[1],&l_1610[1],&l_1610[1]};
                int i, j;
                for (i = 0; i < 7; i++)
                    l_1633[i] = (-6L);
                for (i = 0; i < 5; i++)
                {
                    for (j = 0; j < 1; j++)
                        l_1659[i][j] = 18446744073709551615UL;
                }
                if ((g_1614[1][5] , (safe_div_func_uint8_t_u_u((*g_417), (*g_1498)))))
                { /* block id: 733 */
                    int32_t *l_1618 = &l_1511;
                    int32_t *l_1619 = &l_1581;
                    int32_t *l_1621[6][7][4] = {{{&l_947,&l_1511,&l_984[2][2][3],(void*)0},{&l_947,&g_319,&l_1581,&l_984[2][2][3]},{&g_1601,&g_319,&l_1581,(void*)0},{&g_319,&l_1511,&l_1581,&l_984[2][2][3]},{&l_984[2][2][3],&g_519,&l_947,&l_1511},{&l_947,&g_652[2][4],&l_982,&l_947},{&l_984[2][2][3],&l_984[2][2][3],&l_1581,&g_1601}},{{&g_27,&l_1581,&l_984[2][2][3],&l_1511},{&g_1601,&l_1511,&l_1579,&l_1511},{&g_652[2][4],&g_652[2][4],&g_319,&l_1511},{&l_1581,&l_982,&l_984[2][2][3],(void*)0},{&l_1511,&l_1511,&g_652[2][4],&l_947},{&l_1511,&g_319,&l_984[2][2][3],&l_984[2][2][3]},{&l_1581,&l_947,&g_319,&l_1617[2]}},{{&l_1511,&l_984[2][2][3],&l_947,&l_1511},{&l_1511,&l_1511,&l_947,&l_982},{&l_1511,&l_947,&l_1579,(void*)0},{&l_984[2][2][3],&l_1511,&l_947,&l_947},{&l_984[2][2][3],&g_519,&g_519,&l_984[2][2][3]},{(void*)0,&l_982,&l_1579,&l_947},{&l_984[2][2][3],&l_1581,&g_652[0][8],&g_27}},{{&l_1511,&l_984[2][2][3],&l_984[0][1][4],&g_27},{&g_519,&l_1581,&g_319,&l_947},{&l_984[2][2][3],&l_982,&g_319,&l_984[2][2][3]},{&l_1511,&g_519,&l_982,&l_947},{&g_319,&l_1511,&l_984[2][2][3],(void*)0},{&l_984[2][2][3],&l_947,&l_1511,&l_982},{&l_1511,&l_1511,&l_984[0][1][4],&l_1511}},{{&l_947,&l_984[2][2][3],&l_947,&l_1617[2]},{&l_984[2][2][3],&l_947,&g_519,&l_984[2][2][3]},{&l_984[2][2][3],&g_319,&g_519,&l_947},{(void*)0,&l_1511,&g_519,(void*)0},{&l_984[2][2][3],&l_982,&g_519,&l_1511},{&l_984[2][2][3],&g_652[2][4],&l_947,&g_27},{&l_947,&g_27,&l_984[0][1][4],&l_984[2][2][3]}},{{&l_1511,&l_1581,&l_1511,&l_1511},{&l_984[2][2][3],&l_1617[2],&l_984[2][2][3],&l_984[2][2][3]},{&g_319,&l_1511,&l_982,&l_982},{&l_1511,&l_1511,&g_319,&l_984[2][2][3]},{&l_984[2][2][3],&l_982,&g_319,&l_982},{&g_519,&l_984[2][2][3],&l_984[0][1][4],&g_319},{&l_1511,&l_984[2][2][3],&g_652[0][8],&l_982}}};
                    int16_t *l_1642 = &g_87;
                    int16_t l_1647 = 0xC50BL;
                    uint8_t **l_1658 = &g_1112;
                    int i, j, k;
                    for (l_1314 = 0; (l_1314 <= 3); l_1314 += 1)
                    { /* block id: 736 */
                        if ((*p_59))
                            break;
                    }
                    --l_1634;
                    (*p_59) = ((+0x47L) <= (l_1638[0] < (((((safe_rshift_func_int32_t_s_u(((l_1631 | ((void*)0 == p_59)) != (l_1581 = ((*l_1642) = l_1641))), ((safe_mul_func_uint32_t_u_u(((*g_191) ^= ((*l_1306) = l_1633[2])), ((safe_sub_func_uint8_t_u_u((l_1647 != p_58), 0x49L)) ^ p_61))) ^ l_1648))) <= p_61) | p_60) <= 0xCE99L) <= p_60)));
                    if (((*l_1619) = (safe_mul_func_int32_t_s_s(((((g_1651 = &l_1185[3]) == (((***g_1110) ^ 0x57L) , l_1642)) || (g_1652 , (((0x77D8L && (((*p_59) ^ (*l_1619)) > ((safe_mul_func_uint8_t_u_u((l_1657[2][0] != l_1658), 1UL)) > 0x7EL))) || p_60) , 1UL))) != p_60), l_1659[3][0]))))
                    { /* block id: 747 */
                        return p_59;
                    }
                    else
                    { /* block id: 749 */
                        return p_59;
                    }
                }
                else
                { /* block id: 752 */
                    int32_t *l_1661[9] = {&l_1622,&l_1622,&l_1622,&l_1622,&l_1622,&l_1622,&l_1622,&l_1622,&l_1622};
                    uint32_t l_1662[3];
                    int i;
                    for (i = 0; i < 3; i++)
                        l_1662[i] = 4294967289UL;
                    (*g_1660) ^= (*p_59);
                    l_1662[2]++;
                }
                for (g_87 = 27; (g_87 < (-21)); g_87 = safe_sub_func_uint32_t_u_u(g_87, 1))
                { /* block id: 758 */
                    return p_59;
                }
                (*p_59) = (l_1314 < (!(((((safe_add_func_uint64_t_u_u(0x6C81FC712046BDACLL, ((void*)0 != &l_1569[1]))) ^ (l_1625 &= ((&g_209 == ((l_1629 , (l_1622 = ((*p_59) < l_1630[1][4]))) , (g_1672 = l_1610[3]))) == p_58))) <= 0xB22AA6545967E90BLL) , (void*)0) == &p_61)));
            }
            return p_59;
        }
        for (g_27 = (-25); (g_27 <= (-5)); g_27 = safe_add_func_uint64_t_u_u(g_27, 1))
        { /* block id: 770 */
            uint16_t **l_1675 = (void*)0;
            g_1676 = l_1675;
            if ((*p_59))
                break;
        }
lbl_1691:
        l_1314 |= (((((p_58 , &p_61) == ((*g_1111) = (***g_1109))) && (g_1677 , (safe_lshift_func_int16_t_s_u((0x4809L ^ (((*l_1319) = (l_1680 , p_60)) , ((p_61 | (safe_add_func_uint64_t_u_u(((l_1579 = (l_1690 = (l_1617[2] &= (safe_div_func_uint32_t_u_u(((~((*l_1319) = (l_1581 = ((safe_add_func_uint16_t_u_u(l_1579, 0xA6EEL)) ^ l_1688[4])))) || p_60), (-5L)))))) , 0x4C6C9664B7827F7CLL), (-7L)))) >= 1L))), 0)))) == l_1641) | (*p_59));
        if (((((safe_rshift_func_uint64_t_u_u((&g_776 != l_1694), 16)) == (((*g_191) |= (safe_div_func_uint8_t_u_u((0xF7CFA8196507AA71LL & g_1408.f0), p_61))) >= (safe_div_func_uint16_t_u_u((safe_sub_func_int8_t_s_s((safe_add_func_uint64_t_u_u((safe_div_func_uint64_t_u_u((((l_1705 < (p_60 = 0x0F90408A507A7F02LL)) ^ ((((*g_1112)++) ^ (l_1579 &= 0x70L)) != (p_61 == 1UL))) | p_58), 18446744073709551607UL)), p_61)), p_61)), l_1709)))) & p_61) <= p_61))
        { /* block id: 787 */
            return g_1710;
        }
        else
        { /* block id: 789 */
            int64_t l_1733 = 0x89FFE85A6D603218LL;
            (*l_1221) = func_68((((*g_191) ^ 0x89B77128L) , (safe_rshift_func_int8_t_s_u((((safe_mod_func_int8_t_s_s((0xF5L <= (safe_rshift_func_int64_t_s_u(0x0DDB7D6C52BC063FLL, (l_1634 == (safe_unary_minus_func_int16_t_s((((l_1314 = ((((safe_mul_func_int8_t_s_s((safe_mul_func_int16_t_s_s(((g_1677.f4 == (p_58 < ((safe_mul_func_uint32_t_u_u(((safe_unary_minus_func_uint32_t_u(((**g_1111) > (safe_sub_func_int8_t_s_s((((safe_rshift_func_uint8_t_u_u((!((safe_mul_func_uint16_t_u_u(((*l_1315) = (((l_1732 , p_60) | 0xDEL) & g_652[2][4])), p_58)) ^ p_60)), (**g_1111))) | (*p_59)) || l_1733), l_1493))))) , l_1569[1]), (*g_191))) ^ 0x9AD15170L))) && l_1734), p_60)), p_60)) | p_61) != 65533UL) ^ p_61)) ^ p_60) != (-1L)))))))), (***g_1110))) , (*p_59)) < (*p_59)), 5))), &g_317[0], (*g_191), (*g_1672));
        }
    }
    else
    { /* block id: 794 */
        int32_t l_1740 = (-1L);
        const int32_t *l_1745 = (void*)0;
        int32_t l_1758 = 0xD141502FL;
        const int32_t **l_1770 = &g_612[1][4][0];
        int32_t l_1782 = 0x93F70C6FL;
        int32_t l_1786 = 5L;
        int32_t l_1787 = 0x47E595FAL;
        int32_t l_1791 = 0x9AB11CF5L;
        int32_t l_1792 = 0x46B87819L;
        int32_t l_1793[4] = {0x4DF4E895L,0x4DF4E895L,0x4DF4E895L,0x4DF4E895L};
        struct S0 *l_1857 = &g_1858;
        const int16_t l_1892[10][9] = {{0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL},{0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L},{0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL},{0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L},{0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL},{0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L},{0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL},{0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L},{0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL,0x4CDCL},{0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L,0xF507L,0xA410L}};
        struct S1 l_1894 = {0x5663810678D615E3LL};
        uint32_t *l_1899 = (void*)0;
        struct S0 **l_1955 = &l_1428;
        uint32_t l_1986 = 0UL;
        const int64_t l_2002 = 5L;
        int16_t **l_2038 = &g_1274[0];
        uint32_t l_2107[1][1][6] = {{{0x2880F42EL,0x2880F42EL,0x2880F42EL,0x2880F42EL,0x2880F42EL,0x2880F42EL}}};
        int64_t **l_2182[9] = {&g_1182[3][0][0],&g_1182[3][0][0],&g_1182[3][0][0],&g_1182[3][0][0],&g_1182[3][0][0],&g_1182[3][0][0],&g_1182[3][0][0],&g_1182[3][0][0],&g_1182[3][0][0]};
        uint64_t l_2188 = 0xE473E810E9CF3AC9LL;
        int i, j, k;
        for (g_209.f0 = 6; (g_209.f0 > (-3)); --g_209.f0)
        { /* block id: 797 */
            int16_t l_1739 = (-5L);
            (*p_59) = (safe_add_func_int8_t_s_s((l_1739 != ((*g_403) , (*g_191))), l_1740));
            for (l_1709 = 19; (l_1709 >= 0); l_1709 = safe_sub_func_int32_t_s_s(l_1709, 7))
            { /* block id: 801 */
                p_59 = p_59;
            }
        }
        if ((l_1740 , ((*p_59) = (safe_add_func_int16_t_s_s((((void*)0 == l_1745) < l_1740), (safe_sub_func_uint8_t_u_u((p_58 != p_61), (safe_mul_func_uint64_t_u_u((safe_sub_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_s(l_1740, ((*g_1498) = ((*g_1075) , (safe_lshift_func_int16_t_s_u((safe_mul_func_uint64_t_u_u(18446744073709551615UL, 0xB00F1E6430890273LL)), l_1758)))))), p_61)), g_269)))))))))
        { /* block id: 807 */
            int64_t l_1761 = (-8L);
            int32_t **l_1765 = &g_26[4];
            int32_t ***l_1766 = (void*)0;
            int32_t ***l_1767 = &g_312;
            int32_t ***l_1768 = (void*)0;
            int32_t ***l_1769 = &l_1764;
            int32_t l_1776 = 0x487136B3L;
            int32_t l_1778[7][2][7] = {{{(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L)},{(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)}},{{(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L)},{(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)}},{{(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L)},{(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)}},{{(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L)},{(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)}},{{(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L)},{(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)}},{{(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L)},{(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)}},{{(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L),0x7ECB3C50L,(-2L)},{(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)}}};
            uint32_t *l_1829 = &l_1114[5];
            int8_t l_1837 = 0x66L;
            struct S1 l_1862[7][8][1] = {{{{0L}},{{-1L}},{{-1L}},{{0L}},{{0x1505CB68ECC8B135LL}},{{0L}},{{-1L}},{{-1L}}},{{{0L}},{{0x7CC37EBCFC9DF3F7LL}},{{0xE9B395A1074D295ELL}},{{0x760EFE7C01311A84LL}},{{0x5E6950472B50EA4DLL}},{{0xCA837323B676A03CLL}},{{0x740974E2F54D2BB7LL}},{{0x93688452F769B1A5LL}}},{{{0x93688452F769B1A5LL}},{{0x740974E2F54D2BB7LL}},{{0xCA837323B676A03CLL}},{{0x5E6950472B50EA4DLL}},{{0x760EFE7C01311A84LL}},{{0xE9B395A1074D295ELL}},{{0x7CC37EBCFC9DF3F7LL}},{{0L}}},{{{-1L}},{{-1L}},{{0L}},{{0x1505CB68ECC8B135LL}},{{0L}},{{-1L}},{{-1L}},{{0L}}},{{{0x7CC37EBCFC9DF3F7LL}},{{0xE9B395A1074D295ELL}},{{0x760EFE7C01311A84LL}},{{0x93688452F769B1A5LL}},{{0x1505CB68ECC8B135LL}},{{0x14FA1698FFEA2B41LL}},{{0L}},{{0L}}},{{{0x14FA1698FFEA2B41LL}},{{0x1505CB68ECC8B135LL}},{{0x93688452F769B1A5LL}},{{-1L}},{{0L}},{{0xE9B395A1074D295ELL}},{{-1L}},{{0x6034E43CD7FEE0A2LL}}},{{{-7L}},{{0xCA837323B676A03CLL}},{{0x17C4794A2E41900ALL}},{{0xCA837323B676A03CLL}},{{-7L}},{{0x6034E43CD7FEE0A2LL}},{{-1L}},{{0xE9B395A1074D295ELL}}}};
            int64_t l_1875 = 1L;
            int64_t l_1958 = 0xCF898BB8AA166BDCLL;
            const int32_t *l_2021 = (void*)0;
            int32_t l_2032[7] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
            int16_t **l_2040 = (void*)0;
            int16_t **l_2047 = (void*)0;
            uint32_t l_2049[8][9] = {{0UL,1UL,0xCB2DC662L,0xFD194B88L,0xF0B69302L,0xADBFA43EL,0x69959E93L,0xADBFA43EL,0xF0B69302L},{0xB7AEA67EL,1UL,1UL,0xB7AEA67EL,0xD9AB3A22L,0xF0B69302L,0x8CEB3F9CL,6UL,0xADBFA43EL},{0x69959E93L,0x365D65EEL,0xCB2DC662L,0xB7AEA67EL,0x365D65EEL,6UL,0UL,1UL,0x0229A29BL},{0UL,0xF0B69302L,6UL,0xFD194B88L,0xD9AB3A22L,6UL,1UL,0x105866CBL,0x365D65EEL},{0x95F15754L,0xCB2DC662L,0x105866CBL,0UL,0xF0B69302L,0xF0B69302L,0UL,0x105866CBL,0xCB2DC662L},{0xFD194B88L,0x105866CBL,0x0229A29BL,4294967295UL,1UL,0xADBFA43EL,0x8CEB3F9CL,1UL,0x365D65EEL},{0xFD194B88L,4294967295UL,0xD9AB3A22L,0x8CEB3F9CL,0x943F0702L,0x0229A29BL,0x69959E93L,6UL,0x0229A29BL},{0x95F15754L,0x105866CBL,0xD9AB3A22L,0UL,0x0229A29BL,0x365D65EEL,0UL,0xADBFA43EL,0xADBFA43EL}};
            int i, j, k;
lbl_1895:
            if ((safe_mul_func_uint16_t_u_u((**g_1023), (5UL ^ (l_1761 | ((safe_div_func_int64_t_s_s((((((*l_1769) = (l_1765 = l_1764)) == (l_1770 = l_1770)) ^ 0L) < (~p_61)), ((!((p_60 <= (p_60 == 18446744073709551615UL)) < p_60)) | p_61))) < 0x04D22BAE9E121A2BLL))))))
            { /* block id: 811 */
                int64_t l_1779[1];
                int32_t l_1780 = 0x206A35EEL;
                int32_t l_1781 = 0x14D6A6B6L;
                int32_t l_1783 = 0xC4D6DD61L;
                int32_t l_1784 = 0x837C3792L;
                int32_t l_1785 = 0xFB59DD1FL;
                int32_t l_1788 = 5L;
                int32_t l_1789 = 0x53236135L;
                int32_t l_1790[2][4][5] = {{{1L,(-1L),(-8L),0xC74057E7L,(-8L)},{0x7FD6277BL,0x7FD6277BL,(-1L),1L,(-1L)},{1L,(-1L),0x32896722L,1L,1L},{1L,0x849E0B07L,1L,0xC74057E7L,0x84A19F30L}},{{0x32896722L,(-1L),1L,4L,0x84A19F30L},{(-1L),0x7FD6277BL,0x7FD6277BL,(-1L),1L},{(-8L),(-1L),1L,0x84A19F30L,(-1L)},{(-8L),1L,1L,1L,(-8L)}}};
                int i, j, k;
                for (i = 0; i < 1; i++)
                    l_1779[i] = 0x15DBEAC212B3266ALL;
                for (g_87 = 0; (g_87 <= 0); g_87 = safe_add_func_int8_t_s_s(g_87, 3))
                { /* block id: 814 */
                    int32_t *l_1775[8][10] = {{&l_984[2][0][1],&g_319,&l_982,&g_652[2][4],&l_1740,&l_1638[1],&l_1511,&l_984[2][2][3],&l_982,&l_1638[0]},{(void*)0,&l_982,&l_982,&g_319,&l_1740,&l_947,&l_1638[0],&l_1740,&l_984[2][2][3],&l_1624},{&l_1740,&l_1511,&l_984[2][0][1],(void*)0,&l_982,&l_1638[0],&g_519,&l_1638[0],&l_982,(void*)0},{&g_652[6][8],&l_947,&g_652[6][8],&l_1638[0],&l_984[2][2][3],&l_1638[1],&l_982,&g_519,&l_1638[1],&g_652[2][4]},{&l_984[1][0][5],&l_1740,&g_519,&l_984[1][0][5],(void*)0,&l_1638[0],&l_1638[0],&g_519,&l_947,&g_319},{&l_982,&l_1624,&l_984[2][2][3],(void*)0,&l_1638[1],(void*)0,&l_1638[0],&g_1601,&g_1601,&l_1638[0]},{(void*)0,&l_984[2][0][1],&g_519,&g_519,&l_984[2][0][1],(void*)0,&l_1638[0],&l_1638[0],&l_1638[1],&l_947},{(void*)0,&l_1511,&g_519,(void*)0,&l_982,&l_1740,(void*)0,&l_982,&l_1624,&l_1638[1]}};
                    int i, j;
                    l_1794++;
                }
            }
            else
            { /* block id: 817 */
                const uint8_t *****l_1808 = &l_1805[2][1][3];
                int32_t l_1818 = 0x88887DC6L;
                uint32_t *** const l_1832 = (void*)0;
                if (((((safe_add_func_uint32_t_u_u(((((p_60 && p_58) == ((0x5FL & (safe_mul_func_int32_t_s_s(((((((safe_rshift_func_uint32_t_u_u((((*l_1808) = l_1805[5][2][0]) != (void*)0), 9)) < (p_58 && (g_185 , (((&p_59 == l_1770) == p_58) , (*g_191))))) , 0x217AL) > 0x91BBL) <= 0L) >= p_58), (*p_59)))) && p_61)) > p_61) || 1UL), (-1L))) , 0xEE300E9E57AB2AC9LL) && 0x93AF6DD0FE84C4FELL) && p_60))
                { /* block id: 819 */
                    l_1793[3] = ((safe_sub_func_int64_t_s_s((safe_sub_func_uint32_t_u_u(((&g_378 != (g_1813 , (void*)0)) > (((0xD073A1D92A9C82A1LL != ((0x622FECDAL != (safe_rshift_func_int8_t_s_s((((*p_59) = (safe_rshift_func_uint32_t_u_s((l_1818 > (~4UL)), 7))) | 0x43C80161L), ((*g_1498) = (safe_add_func_int32_t_s_s(0x38DB3A35L, l_1818)))))) , (-1L))) , p_58) <= p_60)), p_58)), p_60)) <= p_58);
                    return p_59;
                }
                else
                { /* block id: 824 */
                    uint32_t **l_1828[7] = {&l_1306,&l_1306,&l_1306,&l_1306,&l_1306,&l_1306,&l_1306};
                    uint32_t ****l_1835[8][1][3] = {{{&g_1833,&g_1833,&g_1833}},{{&g_1833,&g_1833,&g_1833}},{{&g_1833,&g_1833,&g_1833}},{{&g_1833,&g_1833,&g_1833}},{{&g_1833,&g_1833,&g_1833}},{{&g_1833,&g_1833,&g_1833}},{{&g_1833,&g_1833,&g_1833}},{{&g_1833,&g_1833,&g_1833}}};
                    uint16_t *l_1838 = &g_756;
                    int32_t l_1839 = 0xCAFA4E26L;
                    int32_t l_1853 = 0xB36F84FAL;
                    int i, j, k;
                    (*p_59) &= (safe_sub_func_int64_t_s_s(((0xBD69498A7E7E4423LL ^ (safe_add_func_uint16_t_u_u((((safe_sub_func_uint16_t_u_u(0xEF16L, (l_1745 != (l_1829 = (void*)0)))) , (*g_1672)) , ((*l_1838) = ((safe_mod_func_uint16_t_u_u(((l_1832 == (l_1836 = g_1833)) != ((*l_1320) &= (g_1425 , 0x3CD7L))), l_1837)) , p_61))), l_1782))) < (-4L)), l_1839));
lbl_1859:
                    for (g_187 = 0; (g_187 == 17); g_187++)
                    { /* block id: 832 */
                        int8_t l_1852 = 0xB5L;
                        int16_t *l_1856 = &l_1688[4];
                        l_1818 &= (*p_59);
                        (*g_767) = (l_1857 = ((l_1818 = (safe_rshift_func_int32_t_s_s(((-6L) && ((l_1839 = p_58) , (!(safe_rshift_func_int16_t_s_u((safe_add_func_int32_t_s_s((safe_unary_minus_func_uint16_t_u(((l_1852 |= (safe_mul_func_int8_t_s_s(l_1818, p_58))) || (l_1853 || (p_61 < p_61))))), 0x721FD415L)), ((((*l_1856) = (((((safe_mul_func_uint8_t_u_u((p_60 & 65535UL), p_60)) , p_60) , (*g_565)) == (void*)0) > 0x77L)) >= (*g_1024)) > l_1839)))))), (*p_59)))) , (void*)0));
                        if (l_1794)
                            goto lbl_1859;
                    }
                    (*l_1221) = &l_1818;
                }
                return p_59;
            }
            if ((((((void*)0 == l_1860[0][0]) | (+((l_1862[4][3][0] , p_58) , l_1863))) || ((safe_lshift_func_int64_t_s_s(0xBC5C46DD6D1A2CDFLL, 38)) >= ((*g_1498) & (safe_sub_func_int32_t_s_s(0L, (safe_rshift_func_uint32_t_u_s((*g_191), (*g_1710)))))))) , 0x2F332B96L))
            { /* block id: 846 */
                const uint32_t ***l_1908 = &g_710;
                const int32_t l_1909 = 0L;
                int32_t l_1910[6] = {1L,0x1D13706CL,1L,1L,0x1D13706CL,1L};
                int i;
                for (l_1761 = 23; (l_1761 < 29); l_1761 = safe_add_func_uint64_t_u_u(l_1761, 8))
                { /* block id: 849 */
                    int64_t *l_1890 = (void*)0;
                    int64_t *l_1891 = &l_1287;
                    int32_t *l_1893 = &g_652[6][8];
                    uint16_t l_1917[3][5][6] = {{{65532UL,65528UL,0x6827L,0xD7D7L,0UL,0xD7D7L},{0x415AL,0x1A69L,0x415AL,1UL,65535UL,65528UL},{0x76B3L,5UL,65535UL,1UL,7UL,65535UL},{1UL,0xD7D7L,1UL,1UL,1UL,1UL},{0x76B3L,0x76B3L,0x1A69L,1UL,65535UL,0x415AL}},{{0x415AL,0UL,0x76B3L,0xD7D7L,5UL,0x1A69L},{65532UL,0x415AL,0x76B3L,1UL,0x76B3L,0x415AL},{7UL,1UL,0x1A69L,0UL,0xB9A8L,1UL},{0UL,0xB9A8L,1UL,0x76B3L,0x6827L,65535UL},{65528UL,0xB9A8L,65535UL,65535UL,0xB9A8L,65528UL}},{{0xB9A8L,1UL,0x415AL,0UL,0x76B3L,0xD7D7L},{65535UL,0x415AL,0x6827L,65532UL,5UL,1UL},{65535UL,0UL,65532UL,0UL,65535UL,0x76B3L},{0xB9A8L,0x76B3L,5UL,65535UL,1UL,7UL},{65528UL,0xD7D7L,1UL,0x76B3L,7UL,7UL}}};
                    int i, j, k;
                    if ((safe_add_func_int32_t_s_s((~p_58), (((*l_1893) ^= (((***g_709) , ((g_1677.f0 <= g_1601) >= (l_1875 & (safe_div_func_int32_t_s_s((safe_sub_func_int16_t_s_s((0x21EF4408A532A5BBLL >= (safe_add_func_int8_t_s_s((safe_mul_func_int64_t_s_s(((*l_1891) = (safe_sub_func_int16_t_s_s((0xABL <= ((safe_mul_func_int32_t_s_s((safe_sub_func_uint32_t_u_u(p_60, (0UL | 0xDE07814D3EBAA7FBLL))), (*p_59))) != g_1652.f0)), (-5L)))), 0x205DB804AA742717LL)), (***g_1110)))), l_1892[7][6])), (*g_191)))))) , (*p_59))) ^ (*g_191)))))
                    { /* block id: 852 */
                        l_1894 = l_1894;
                        if (l_1758)
                            goto lbl_1895;
                        if (g_1213)
                            goto lbl_1896;
                    }
                    else
                    { /* block id: 856 */
                        int64_t l_1897 = 1L;
                        int32_t l_1898 = 0xFDF48074L;
                        int32_t *l_1911 = (void*)0;
                        int32_t *l_1912 = &l_1793[0];
                        int32_t *l_1913 = &l_1511;
                        int32_t *l_1914 = &l_947;
                        int32_t *l_1915 = &g_519;
                        int32_t *l_1916[7][6][5] = {{{&l_982,&l_1740,&l_1793[2],&g_652[1][2],&l_1638[1]},{(void*)0,&l_984[0][1][3],&l_1638[1],&l_982,&l_1638[1]},{&l_1778[3][1][4],&l_1778[3][1][4],&l_1740,&l_1624,&l_984[0][2][0]},{&l_1898,&l_1624,(void*)0,&l_984[2][2][3],&l_1638[0]},{&l_1787,&g_1601,&g_652[1][2],&l_1740,&g_27},{&g_652[1][2],&l_1624,&l_1786,(void*)0,&l_1740}},{{&l_982,&l_1778[3][1][4],&l_984[2][2][3],&l_1777,&l_1624},{&l_982,&l_1740,&l_982,&l_982,&l_1740},{(void*)0,&l_1793[2],&l_1778[3][1][4],&l_1740,&l_984[0][2][0]},{&l_1740,&g_1601,&l_1638[1],&l_1793[2],&l_982},{&l_1638[0],&l_982,&l_1777,&l_1740,&l_1740},{&l_1740,&l_1511,&l_1776,&l_1787,&g_652[1][2]}},{{(void*)0,&l_1777,&l_1740,&l_1776,&l_1740},{&l_982,&l_984[0][2][0],&l_1740,&l_984[0][2][0],&l_982},{&l_1898,&l_1624,&l_1776,(void*)0,&g_27},{&l_984[0][2][0],&l_984[0][1][3],&l_1777,&l_1777,&l_1786},{&l_984[0][1][3],&l_1740,&l_1638[1],&l_1624,&g_27},{&l_984[2][2][3],&l_1777,&l_1778[3][1][4],&g_27,&l_982}},{{&g_27,&l_1740,&l_982,&l_1624,&l_1740},{&l_1638[1],&l_1740,&l_1740,&l_1638[1],&g_652[1][2]},{&l_1776,&l_1777,&l_982,&l_984[2][2][3],&l_1740},{&l_1786,&l_1740,&l_984[0][2][0],(void*)0,&l_982},{&l_1624,&l_984[0][1][3],&l_1740,&l_984[2][2][3],&l_984[0][2][0]},{&l_1740,&l_1624,&l_1786,&l_1638[1],&l_1740}},{{&l_1511,&l_984[0][2][0],&g_1601,&l_1624,&l_1624},{&l_1511,&l_1777,&l_1511,&g_27,&l_1793[2]},{&l_1740,&l_1511,(void*)0,&l_1624,(void*)0},{&l_1624,&l_982,&l_1793[2],&l_1777,(void*)0},{&l_1786,&g_1601,(void*)0,(void*)0,&l_1638[0]},{&l_1776,&l_1793[2],&l_1511,&l_984[0][2][0],&g_1601}},{{&l_1638[1],&l_1740,&g_1601,&l_1776,&g_1601},{&g_27,&g_27,&l_1786,&l_1787,&l_1638[0]},{&l_984[2][2][3],&l_1787,&l_1740,&l_1740,(void*)0},{&l_984[0][1][3],&l_1778[3][1][4],&l_984[0][2][0],&l_1793[2],(void*)0},{&l_984[0][2][0],&l_1787,&l_982,&l_1740,&l_1793[2]},{&l_1898,&g_27,&l_1740,&l_982,&l_1624}},{{&l_982,&l_1740,&l_982,&l_982,&l_1740},{(void*)0,&l_1793[2],&l_1778[3][1][4],&l_1740,&l_984[0][2][0]},{&l_1740,&g_1601,&l_1638[1],&l_1793[2],&l_982},{&l_1638[0],&l_982,&l_1777,&l_1740,&l_1740},{&l_1740,&l_1511,&l_1776,&l_1787,&g_652[1][2]},{(void*)0,&l_1777,&l_1740,&l_1776,&l_1740}}};
                        int i, j, k;
                        l_1898 = l_1897;
                        (*p_59) = (((p_60 , p_59) == (*g_776)) != 0x5464D93CL);
                        l_1917[0][1][1]++;
                    }
                    for (p_60 = 0; (p_60 <= 2); p_60 += 1)
                    { /* block id: 866 */
                        (*p_59) = (safe_lshift_func_int64_t_s_s(((safe_lshift_func_int32_t_s_u((((+((*l_1891) &= p_60)) | (p_60 <= (safe_mod_func_uint32_t_u_u(((safe_sub_func_int32_t_s_s((*p_59), (safe_mod_func_uint16_t_u_u((l_1910[4] ^ ((((*l_1320) &= (safe_unary_minus_func_uint32_t_u(((safe_add_func_uint8_t_u_u(((*l_1893) &= (((safe_mul_func_uint16_t_u_u((safe_lshift_func_uint64_t_u_u(g_766[6].f3, 17)), (l_1793[2] = ((***g_1110) & ((*g_1498) ^= 1L))))) > (safe_div_func_int32_t_s_s((*p_59), 4UL))) && p_61)), p_60)) > 18446744073709551612UL)))) && p_58) < p_61)), 0x2B26L)))) & p_61), p_61)))) | 0xC405L), 9)) || (*p_59)), 45));
                    }
                    (*l_1893) &= 0xC5A04078L;
                }
                for (g_1652.f0 = 0; (g_1652.f0 != (-5)); g_1652.f0--)
                { /* block id: 878 */
                    int32_t l_1944 = 1L;
                    struct S0 **l_1954 = (void*)0;
                    int32_t l_1959 = 0xF2A59A7BL;
                    for (l_1782 = 6; (l_1782 >= 0); l_1782 -= 1)
                    { /* block id: 881 */
                        uint64_t *l_1945[8] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                        struct S0 ***l_1952 = (void*)0;
                        struct S0 ***l_1953[3];
                        uint32_t *l_1957 = &g_52;
                        int i;
                        for (i = 0; i < 3; i++)
                            l_1953[i] = (void*)0;
                        (*p_59) = (safe_mod_func_int16_t_s_s((l_1959 = (p_58 , (((((*l_1302) , 0x3EL) > l_1944) > (g_343 = (g_968[1][2][0]--))) || ((*g_1498) = (safe_mul_func_uint16_t_u_u(((((((((*l_1957) = (safe_mod_func_int32_t_s_s(((l_1954 = &g_1232) != (l_1955 = (void*)0)), ((p_61 == (l_1787 = p_60)) ^ (g_1956 , 0x2FC1A04FDDD8106BLL))))) , g_609.f4) & (-10L)) < (-1L)) & 1L) , l_1958) & 0x0BB7D2E72E8C39A1LL), 0x6E62L)))))), 65526UL));
                    }
                }
                for (g_1570 = 8; (g_1570 >= 3); g_1570 -= 1)
                { /* block id: 895 */
                    int i;
                    (*p_59) |= l_1114[(g_1570 + 1)];
                    for (g_1858.f0 = 0; (g_1858.f0 <= 9); g_1858.f0 += 1)
                    { /* block id: 899 */
                        (*p_59) = (safe_lshift_func_int8_t_s_s((-9L), 3));
                        if ((*p_59))
                            break;
                        (*g_1672) = l_1894;
                        if (l_1114[(g_1570 + 1)])
                            break;
                    }
                }
            }
            else
            { /* block id: 906 */
                const int32_t *l_1967 = (void*)0;
                int32_t l_1989 = 0x964E22D2L;
                int32_t l_2014[4];
                int32_t l_2017 = 1L;
                struct S1 l_2022 = {-3L};
                int16_t ***l_2039[10][2] = {{(void*)0,&l_2038},{&l_1860[0][1],&l_2038},{(void*)0,&l_1860[0][1]},{&l_1860[0][1],&l_1860[0][1]},{&l_1860[0][1],(void*)0},{&l_1860[0][1],&l_2038},{(void*)0,&l_2038},{&l_1860[0][1],(void*)0},{&l_1860[0][1],&l_1860[0][1]},{&l_1860[0][1],(void*)0}};
                int32_t *l_2046 = &g_1956.f0;
                int64_t *l_2050 = &l_1894.f0;
                int i, j;
                for (i = 0; i < 4; i++)
                    l_2014[i] = (-1L);
                for (l_1786 = 0; (l_1786 > (-28)); --l_1786)
                { /* block id: 909 */
                    for (p_58 = 0; (p_58 != 13); p_58 = safe_add_func_uint64_t_u_u(p_58, 1))
                    { /* block id: 912 */
                        struct S1 l_1966 = {0xB2D1FF62864C9095LL};
                        (*p_59) |= (*g_210);
                        l_1791 = ((*p_59) &= 4L);
                        (*g_1672) = l_1966;
                        return p_59;
                    }
                    return l_1967;
                }
                for (l_1782 = 0; (l_1782 >= 0); l_1782 -= 1)
                { /* block id: 923 */
                    int32_t l_1990[7] = {(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L)};
                    int i;
                    if (l_1793[l_1782])
                        break;
                    if (g_339[l_1782])
                    { /* block id: 925 */
                        uint32_t l_1985 = 4294967291UL;
                        (*l_1764) = func_68(((*g_1498) ^ (safe_mod_func_int64_t_s_s((safe_rshift_func_int64_t_s_u(((safe_rshift_func_int16_t_s_u((l_1793[l_1782] |= (0x3DC09698A672325ELL != (safe_add_func_int64_t_s_s((((**g_1023) | (safe_mul_func_int64_t_s_s(p_60, p_61))) & ((safe_mul_func_int32_t_s_s((safe_lshift_func_int32_t_s_s((*p_59), 30)), (*p_59))) & (~(safe_lshift_func_int32_t_s_u((*g_1710), (*g_191)))))), g_766[6].f0)))), l_1985)) , l_1985), 40)), l_1986))), p_59, l_1985, (*l_1302));
                        return p_59;
                    }
                    else
                    { /* block id: 929 */
                        int32_t *l_1987 = (void*)0;
                        int32_t *l_1988[3];
                        int i;
                        for (i = 0; i < 3; i++)
                            l_1988[i] = &l_984[2][3][0];
                        l_1991[8][3]--;
                        (*p_59) = (((****g_1109) = p_58) >= 0xA3L);
                    }
                    if ((safe_sub_func_uint64_t_u_u(p_61, (p_61 & (safe_add_func_uint16_t_u_u(((*g_1498) & (p_58 >= (((safe_rshift_func_uint16_t_u_s(l_2002, 5)) <= (safe_rshift_func_int32_t_s_u((-9L), ((p_61 < (safe_rshift_func_int16_t_s_u((((**g_1111) != (!p_58)) >= l_2008), (**g_1023)))) >= 65535UL)))) > g_1652.f0))), p_61))))))
                    { /* block id: 934 */
                        struct S0 ***l_2009 = &g_767;
                        struct S0 ****l_2010 = &l_2009;
                        int32_t l_2011 = (-1L);
                        int32_t *l_2012 = (void*)0;
                        int32_t *l_2013 = &l_1511;
                        int32_t *l_2015 = &g_319;
                        int32_t *l_2016[10][4][6] = {{{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947},{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]},{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]},{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947}},{{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]},{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]},{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947},{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]}},{{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]},{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947},{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]},{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]}},{{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947},{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]},{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]},{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947}},{{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]},{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]},{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947},{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]}},{{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]},{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947},{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]},{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]}},{{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947},{&g_652[5][7],&l_1990[5],&l_1793[2],&g_652[5][7],&l_1793[2],&l_1990[5]},{&g_1601,&l_1990[5],&l_947,&g_1601,&l_1793[2],&l_1793[2]},{&l_1740,&l_1990[5],&l_1990[5],&l_1740,&l_1793[2],&l_947}},{{&g_652[5][7],&l_1990[5],(void*)0,&l_947,(void*)0,&l_947},{&l_1793[2],&l_947,&l_1793[2],&l_1793[2],(void*)0,(void*)0},{&l_1990[5],&l_947,&l_947,&l_1990[5],(void*)0,&l_1793[2]},{&l_947,&l_947,(void*)0,&l_947,(void*)0,&l_947}},{{&l_1793[2],&l_947,&l_1793[2],&l_1793[2],(void*)0,(void*)0},{&l_1990[5],&l_947,&l_947,&l_1990[5],(void*)0,&l_1793[2]},{&l_947,&l_947,(void*)0,&l_947,(void*)0,&l_947},{&l_1793[2],&l_947,&l_1793[2],&l_1793[2],(void*)0,(void*)0}},{{&l_1990[5],&l_947,&l_947,&l_1990[5],(void*)0,&l_1793[2]},{&l_947,&l_947,(void*)0,&l_947,(void*)0,&l_947},{&l_1793[2],&l_947,&l_1793[2],&l_1793[2],(void*)0,(void*)0},{&l_1990[5],&l_947,&l_947,&l_1990[5],(void*)0,&l_1793[2]}}};
                        uint8_t l_2018 = 1UL;
                        int i, j, k;
                        (*l_2010) = l_2009;
                        (*p_59) |= l_1990[2];
                        --l_2018;
                    }
                    else
                    { /* block id: 938 */
                        return p_59;
                    }
                    if ((*p_59))
                        continue;
                    for (l_1958 = 0; (l_1958 <= 0); l_1958 += 1)
                    { /* block id: 944 */
                        return l_2021;
                    }
                }
                l_2022 = l_1894;
                (*p_59) &= (safe_add_func_uint32_t_u_u(((+(safe_div_func_uint16_t_u_u(p_58, (((safe_mod_func_uint16_t_u_u(((p_59 != p_59) & ((safe_div_func_int64_t_s_s(((*l_2050) = (p_60 &= (((l_2032[1] & (((**g_1023) , p_59) == ((+(safe_sub_func_uint32_t_u_u((((safe_add_func_uint8_t_u_u(((l_1860[0][0] = (l_2040 = l_2038)) != ((safe_rshift_func_int8_t_s_u((safe_mul_func_int64_t_s_s(((+(((*g_776) = (*g_776)) != l_2046)) || 0x76DBL), 0xBA04D3190811CC6ALL)), 0)) , l_2047)), (****g_1109))) , l_2048[1]) , 0x6B60A095L), l_2049[7][6]))) , p_59))) , 0x69C98916L) != (*g_191)))), 0x8DC29BE052CC7162LL)) < 4L)), p_61)) == p_58) | p_61)))) , p_58), 0x24B3EE80L));
            }
        }
        else
        { /* block id: 956 */
            struct S0 ***l_2058 = &l_1955;
            int32_t l_2073 = 0xCFC16692L;
            int64_t *l_2074 = &l_1894.f0;
            int32_t l_2114 = 0x5D793D0DL;
            int32_t l_2115 = 9L;
            uint8_t l_2116 = 0x28L;
            if (l_1740)
                goto lbl_1896;
            (*g_2055) = g_2051;
            if ((safe_lshift_func_uint8_t_u_u((&g_1232 == ((*l_2058) = &g_768)), ((safe_sub_func_int8_t_s_s((safe_mul_func_uint16_t_u_u(0UL, ((safe_mod_func_int64_t_s_s(((*l_2074) ^= ((l_2065 , (safe_mod_func_int32_t_s_s((l_2068 == ((*g_1676) = &l_2048[0])), (safe_add_func_int16_t_s_s((((p_58 ^ (((*g_1660) ^ l_2073) != 0xFDE0D60EL)) && 0UL) || (**g_1023)), l_2073))))) || (**g_1676))), g_2075)) == (-1L)))), 7L)) > 0x11L))))
            { /* block id: 962 */
                int64_t **l_2080 = &g_1182[3][0][0];
                const struct S0 ****l_2100 = (void*)0;
                int32_t l_2102[9][7] = {{0L,0xDE097A28L,0x7FF7FC0BL,0x7FF7FC0BL,0xDE097A28L,0L,0xDE097A28L},{1L,0x47B5297DL,0x47B5297DL,1L,0x94AAE283L,1L,0x47B5297DL},{1L,1L,0L,0x7FF7FC0BL,0L,1L,1L},{(-1L),0x47B5297DL,0x947204A2L,0x47B5297DL,(-1L),(-1L),0x47B5297DL},{0xC5BEF4E8L,0xDE097A28L,0xC5BEF4E8L,0L,0L,0xC5BEF4E8L,0xDE097A28L},{0x47B5297DL,0x94AAE283L,0x947204A2L,0x947204A2L,0x94AAE283L,0x47B5297DL,0x94AAE283L},{0xC5BEF4E8L,0L,0L,0xC5BEF4E8L,0xDE097A28L,0xC5BEF4E8L,0L},{(-1L),(-1L),0x47B5297DL,0x947204A2L,0x47B5297DL,(-1L),(-1L)},{1L,0L,0x7FF7FC0BL,0L,1L,1L,0L}};
                int32_t *l_2172[1];
                int64_t l_2183 = 0xC42E929D4849C139LL;
                int i, j;
                for (i = 0; i < 1; i++)
                    l_2172[i] = &l_984[2][2][3];
                for (g_343 = (-25); (g_343 != 59); g_343 = safe_add_func_int16_t_s_s(g_343, 4))
                { /* block id: 965 */
                    for (g_87 = 0; (g_87 != 25); g_87 = safe_add_func_uint32_t_u_u(g_87, 1))
                    { /* block id: 968 */
                        (*p_59) = (((*g_1112) , l_2080) != ((safe_mul_func_int32_t_s_s((&g_87 != (void*)0), 8L)) , l_2080));
                    }
                }
                for (l_1624 = 0; (l_1624 <= 0); l_1624 += 1)
                { /* block id: 974 */
                    struct S1 *l_2083[7];
                    int32_t l_2101 = 0x5ED318D6L;
                    int32_t l_2112 = 1L;
                    int32_t l_2113 = 4L;
                    int i;
                    for (i = 0; i < 7; i++)
                        l_2083[i] = &g_909[1];
                    for (l_1782 = 0; (l_1782 >= 0); l_1782 -= 1)
                    { /* block id: 977 */
                        int32_t l_2085 = 0xEC9B3F4BL;
                        (*g_2084) = l_2083[2];
                        if (l_2085)
                            break;
                        if (l_2073)
                            break;
                    }
                    if ((safe_mod_func_int32_t_s_s((((((0L & (safe_add_func_int64_t_s_s(p_60, (((safe_add_func_int64_t_s_s(0xEBE555683AD77AA9LL, ((safe_div_func_int16_t_s_s(((safe_div_func_uint64_t_u_u((safe_add_func_int32_t_s_s((g_2098 != l_2100), (l_2101 > l_2102[2][5]))), ((((safe_div_func_int16_t_s_s(((((*p_59) |= 6L) < ((**g_1111) > 0L)) | l_2101), l_2105[3][1][2])) <= l_2073) || p_58) , l_2101))) > l_2102[7][4]), p_60)) == l_2102[8][3]))) , p_60) | l_1892[7][6])))) , l_2106) | (*g_1112)) <= l_2107[0][0][3]) && (*g_1024)), 0x4317F442L)))
                    { /* block id: 983 */
                        int64_t l_2108 = 0x299B2C4B303CDD70LL;
                        int32_t *l_2109 = &l_1782;
                        int32_t *l_2110 = &l_1793[2];
                        int32_t *l_2111[10][2] = {{&l_1782,&l_1782},{&l_1782,&l_1782},{&l_1782,&l_1782},{&l_1782,&l_1782},{&l_1782,&l_1782},{&l_1782,&l_1782},{&l_1782,&l_1782},{&l_1782,&l_1782},{&l_1782,&l_1782},{&l_1782,&l_1782}};
                        int i, j;
                        l_1638[0] |= (*p_59);
                        --l_2116;
                    }
                    else
                    { /* block id: 986 */
                        uint32_t **l_2122 = &g_316;
                        uint32_t ***l_2121 = &l_2122;
                        const int32_t l_2141 = 0xF8273F23L;
                        uint64_t *l_2159[7] = {(void*)0,(void*)0,&l_1159[5],(void*)0,(void*)0,&l_1159[5],(void*)0};
                        int32_t l_2160 = 0xEF221DD6L;
                        int32_t l_2166 = 0xFE675A27L;
                        int i;
                        l_2114 ^= (safe_mul_func_uint8_t_u_u(((*g_1024) < ((*g_1833) != ((*l_2121) = (void*)0))), (((4294967288UL && (safe_rshift_func_int16_t_s_u((safe_add_func_int64_t_s_s((((safe_sub_func_int16_t_s_s((safe_div_func_int16_t_s_s(0x9994L, 0xD038L)), (safe_sub_func_uint16_t_u_u(((safe_lshift_func_int64_t_s_u((((*p_59) = (0xCAB7B848L >= (1UL < (safe_rshift_func_int8_t_s_s(((safe_lshift_func_uint16_t_u_s((safe_div_func_uint16_t_u_u((**g_1676), l_2113)), p_61)) , (*g_1498)), p_60))))) , l_2141), p_60)) || 0x2226A83DA3686849LL), (*g_1651))))) || (*g_1498)) & 0UL), p_58)), (**g_1676)))) > 0x25L) ^ 0L)));
                        (*g_2151) ^= (((l_1638[0] &= (safe_add_func_uint32_t_u_u((((safe_lshift_func_uint64_t_u_s((!0xD65EB53EL), ((p_60 && 3L) , (safe_rshift_func_uint16_t_u_s(l_2141, 8))))) , (((((*p_59) = (p_61 , ((((-1L) <= ((*g_1498) = (g_1231 || 0x24118B8429415EF8LL))) & (safe_rshift_func_uint32_t_u_s((l_2112 > l_2115), 20))) != 0x6A015EDA89F96CCBLL))) || 0x5B7C3A9CL) == 0xD1E5L) , 0xEFE5CA0E9C013172LL)) , (*g_191)), (*g_191)))) == l_1986) < p_60);
                        l_2166 ^= (((&g_216 == ((*l_2038) = &g_2075)) < (safe_rshift_func_uint16_t_u_u((safe_lshift_func_uint64_t_u_u((((p_61 < (g_2156 , 0xC9CFC2F918B97A2ALL)) < l_2073) < (p_58 , (safe_mod_func_int16_t_s_s(((l_2160 = 0x133ABCC7E181C9A5LL) < (safe_unary_minus_func_uint16_t_u((((safe_mul_func_uint32_t_u_u((safe_lshift_func_uint32_t_u_s((*g_191), 20)), (-6L))) > (*p_59)) && (-6L))))), 0x5037L)))), g_319)), p_61))) ^ l_2102[5][2]);
                        return p_59;
                    }
                    for (l_1777 = 0; (l_1777 <= 0); l_1777 += 1)
                    { /* block id: 1001 */
                        struct S1 **l_2167 = &l_2083[2];
                        struct S1 ***l_2168 = (void*)0;
                        struct S1 ***l_2171 = &l_2167;
                        if (l_2115)
                            break;
                        (*l_2171) = l_2167;
                    }
                }
                l_1638[0] |= (*p_59);
                (*g_1513) &= (l_2073 |= ((*p_59) = (safe_sub_func_uint16_t_u_u((((p_61 && ((~((safe_sub_func_uint32_t_u_u((safe_lshift_func_int16_t_s_s(l_1792, l_2115)), ((safe_lshift_func_int8_t_s_u((l_2183 = (l_2182[1] == &g_1182[1][2][0])), 6)) <= (p_58 , (safe_mul_func_uint16_t_u_u((*g_1651), p_60)))))) <= (safe_sub_func_int16_t_s_s(((&l_1836 == (void*)0) , p_58), 0UL)))) | l_2188)) | 0x7A61D5E42558AEA1LL) > (*g_1498)), l_2189))));
            }
            else
            { /* block id: 1011 */
                for (g_423 = (-16); (g_423 > 47); g_423 = safe_add_func_uint32_t_u_u(g_423, 8))
                { /* block id: 1014 */
                    (*p_59) = 0x9B011922L;
                }
                (*l_1955) = ((safe_sub_func_uint16_t_u_u((safe_mul_func_uint8_t_u_u((***g_1110), 0xB1L)), 0x1230L)) , (*l_1955));
            }
        }
    }
    return p_59;
}


/* ------------------------------------------ */
/* 
 * reads : g_52 g_26 g_10 g_27 g_56 g_87 g_90 g_115 g_185 g_187 g_210 g_247 g_119 g_209.f0 g_268 g_269 g_277 g_216 g_319 g_209 g_322 g_191 g_369 g_378 g_400 g_339 g_416 g_423 g_428 g_317 g_535 g_519 g_507 g_343 g_565 g_566 g_609 g_613 g_516.f4 g_528 g_516.f2 g_652 g_417 g_537 g_516.f0 g_709 g_666 g_767 g_776 g_612 g_854 g_857 g_756 g_766.f4
 * writes: g_52 g_56 g_87 g_90 g_187 g_190 g_26 g_209 g_27 g_312 g_119 g_316 g_319 g_339 g_343 g_269 g_528 g_537 g_565 g_612 g_666 g_566 g_756 g_767 g_854
 */
static uint32_t  func_64(int16_t  p_65)
{ /* block id: 11 */
    uint16_t l_73 = 0xC8FEL;
    int32_t l_92 = 0x122BF4B2L;
    int32_t l_93 = 0x688490A1L;
    uint32_t *l_94 = &g_52;
    struct S1 l_95 = {9L};
    int32_t ***l_374[2];
    volatile struct S0 *l_515[4];
    int32_t l_517 = (-6L);
    int32_t l_518 = 3L;
    uint64_t l_520 = 0x32A5ECDE7762656BLL;
    struct S1 *l_525[7] = {&l_95,&g_209,&g_209,&l_95,&g_209,&g_209,&l_95};
    struct S1 *l_527 = (void*)0;
    struct S1 **l_526[3];
    uint32_t *l_531 = &g_339[0];
    int16_t *l_532[1][8];
    uint32_t *l_536[2][7][1] = {{{&g_537},{&g_537},{&g_537},{&g_537},{&g_537},{&g_537},{&g_537}},{{&g_537},{&g_537},{&g_537},{&g_537},{&g_537},{&g_537},{&g_537}}};
    int64_t *l_538 = (void*)0;
    int64_t *l_539[2][2] = {{(void*)0,(void*)0},{(void*)0,(void*)0}};
    uint16_t *l_540 = &g_119;
    int32_t l_541 = 0x3F322696L;
    int32_t l_542[5];
    uint16_t l_568 = 0xB8BCL;
    const int32_t *l_610 = &l_92;
    int32_t l_633 = (-8L);
    int8_t *l_707 = (void*)0;
    int32_t **l_795 = &g_777[2][0][0];
    uint8_t l_820 = 4UL;
    int8_t l_837 = 5L;
    uint32_t l_895 = 1UL;
    int8_t l_898[1][1][5];
    int i, j, k;
    for (i = 0; i < 2; i++)
        l_374[i] = &g_312;
    for (i = 0; i < 4; i++)
        l_515[i] = &g_516;
    for (i = 0; i < 3; i++)
        l_526[i] = &l_527;
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 8; j++)
            l_532[i][j] = &g_87;
    }
    for (i = 0; i < 5; i++)
        l_542[i] = 0xFB886247L;
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 1; j++)
        {
            for (k = 0; k < 5; k++)
                l_898[i][j][k] = 0xF1L;
        }
    }
lbl_800:
    for (p_65 = 0; (p_65 > (-19)); --p_65)
    { /* block id: 14 */
        int32_t l_88 = 0L;
        uint8_t *l_334 = &g_90[4][1];
        int64_t *l_370 = (void*)0;
        uint32_t *l_376[2];
        int32_t l_398 = 0x731EFFEEL;
        int32_t l_409 = (-4L);
        uint32_t l_412[1];
        struct S1 l_427 = {0xC17FEE3313FFE963LL};
        int i;
        for (i = 0; i < 2; i++)
            l_376[i] = &g_52;
        for (i = 0; i < 1; i++)
            l_412[i] = 0x375EB326L;
        for (g_52 = 0; (g_52 <= 4); g_52 += 1)
        { /* block id: 17 */
            int32_t l_82 = 0x40ACB488L;
            struct S1 l_377 = {-9L};
            uint64_t l_411[3];
            int32_t l_496 = (-5L);
            int32_t *l_499 = &l_92;
            const int32_t l_512 = 0xB55BB157L;
            int i;
            for (i = 0; i < 3; i++)
                l_411[i] = 0UL;
            for (g_56 = 3; (g_56 >= 1); g_56 -= 1)
            { /* block id: 20 */
                int16_t *l_86 = &g_87;
                uint8_t *l_89 = &g_90[3][1];
                uint16_t *l_91[4][4][7] = {{{(void*)0,&l_73,(void*)0,&l_73,(void*)0,&l_73,(void*)0},{(void*)0,&l_73,(void*)0,&l_73,&l_73,&l_73,&l_73},{&l_73,&l_73,&l_73,&l_73,&l_73,&l_73,&l_73},{&l_73,&l_73,&l_73,(void*)0,&l_73,&l_73,&l_73}},{{(void*)0,&l_73,(void*)0,&l_73,(void*)0,&l_73,(void*)0},{&l_73,&l_73,&l_73,&l_73,(void*)0,&l_73,&l_73},{&l_73,&l_73,&l_73,&l_73,&l_73,&l_73,&l_73},{&l_73,&l_73,&l_73,(void*)0,&l_73,(void*)0,&l_73}},{{(void*)0,&l_73,(void*)0,&l_73,(void*)0,&l_73,(void*)0},{&l_73,&l_73,&l_73,&l_73,&l_73,&l_73,&l_73},{&l_73,&l_73,&l_73,&l_73,&l_73,&l_73,&l_73},{(void*)0,&l_73,&l_73,(void*)0,&l_73,&l_73,(void*)0}},{{(void*)0,&l_73,(void*)0,&l_73,(void*)0,&l_73,(void*)0},{&l_73,&l_73,&l_73,&l_73,&l_73,&l_73,(void*)0},{&l_73,&l_73,&l_73,&l_73,&l_73,&l_73,&l_73},{&l_73,&l_73,(void*)0,(void*)0,(void*)0,(void*)0,&l_73}}};
                uint32_t **l_315[7] = {&l_94,&l_94,&l_94,&l_94,&l_94,&l_94,&l_94};
                int32_t *l_318 = &g_319;
                uint8_t *l_337 = &g_90[3][0];
                int i, j, k;
                (*l_318) &= ((g_316 = func_68((l_73 , ((l_93 = (l_92 = ((g_26[g_52] != &g_52) | ((safe_mul_func_uint32_t_u_u((((safe_rshift_func_int16_t_s_s((0UL < (safe_add_func_uint8_t_u_u(((*l_89) = ((((p_65 <= (((0xD8L || (safe_add_func_uint32_t_u_u(l_82, ((safe_unary_minus_func_int8_t_s(g_10)) < ((*l_86) = ((safe_add_func_uint8_t_u_u(6UL, p_65)) <= 0x10CD78DCL)))))) , l_73) , 0x5FL)) == 1L) | l_88) <= g_10)), g_52))), 4)) & p_65) < 0x57C1L), g_27)) == p_65)))) | p_65)), l_94, g_56, l_95)) == l_94);
                g_26[(g_56 + 1)] = &l_92;
                for (l_82 = 0; (l_82 == 28); l_82 = safe_add_func_uint8_t_u_u(l_82, 7))
                { /* block id: 114 */
                    int32_t * volatile *l_323 = &g_26[4];
                    int8_t l_342 = 0x79L;
                    uint64_t *l_375 = &g_343;
                    (*l_323) = (g_209 , g_322);
                    for (l_88 = 23; (l_88 <= 7); --l_88)
                    { /* block id: 118 */
                        int32_t l_326 = (-5L);
                        return l_326;
                    }
                    for (l_92 = (-28); (l_92 >= (-27)); ++l_92)
                    { /* block id: 123 */
                        uint16_t l_331[9] = {0x0FBEL,0x0FBEL,0x0FBEL,0x0FBEL,0x0FBEL,0x0FBEL,0x0FBEL,0x0FBEL,0x0FBEL};
                        uint8_t **l_335 = (void*)0;
                        uint8_t **l_336 = &l_89;
                        uint32_t *l_338 = &g_339[0];
                        int32_t l_344 = 0xC614311AL;
                        int i;
                        l_344 = (((((((g_343 = (safe_rshift_func_int16_t_s_s((1L && (l_331[7] > ((*l_86) = (safe_add_func_uint32_t_u_u(((*l_338) = ((*g_191) = (((*l_336) = l_334) == l_337))), (safe_div_func_int64_t_s_s(p_65, (p_65 , l_342)))))))), 12))) != l_93) > 0L) > l_92) || 0x341DL) , 1UL) | l_331[7]);
                        if ((*g_277))
                            continue;
                        if ((*g_210))
                            continue;
                    }
                    (*l_323) = func_68(((safe_add_func_uint64_t_u_u((p_65 >= ((safe_add_func_int16_t_s_s((safe_rshift_func_int32_t_s_u((((((safe_div_func_int32_t_s_s((safe_rshift_func_uint8_t_u_s(((safe_mul_func_uint8_t_u_u((safe_mod_func_uint32_t_u_u(l_93, ((*g_191) = (safe_mod_func_uint8_t_u_u(l_73, (0xE1EDE2D1L || p_65)))))), (safe_lshift_func_int64_t_s_s((safe_div_func_int8_t_s_s((safe_lshift_func_uint64_t_u_s((safe_lshift_func_uint8_t_u_s((g_369 == l_370), 5)), ((((safe_lshift_func_uint64_t_u_s((p_65 < ((*l_375) = (((*l_318) |= (safe_unary_minus_func_int64_t_s(((void*)0 == l_374[1])))) < p_65))), 2)) ^ g_247.f0) , p_65) && 1UL))), p_65)), l_88)))) & p_65), p_65)), l_82)) | p_65) & 0x0F1EL) , l_88) , p_65), 9)), p_65)) || p_65)), 18446744073709551615UL)) || g_119), l_376[1], p_65, g_209);
                }
            }
            (*g_378) = l_377;
            for (l_95.f0 = 0; (l_95.f0 == 10); l_95.f0 = safe_add_func_int32_t_s_s(l_95.f0, 4))
            { /* block id: 142 */
                uint32_t ** const l_381 = &l_376[1];
                uint32_t **l_383 = &l_376[1];
                uint32_t ***l_382 = &l_383;
                int32_t l_387 = (-1L);
                int16_t *l_397[10][10] = {{(void*)0,&g_87,&g_87,&g_87,&g_87,(void*)0,&g_87,&g_87,&g_87,&g_87},{(void*)0,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,(void*)0},{&g_87,&g_87,(void*)0,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87},{(void*)0,&g_87,(void*)0,&g_87,&g_87,(void*)0,&g_87,&g_87,&g_87,&g_87},{(void*)0,&g_87,&g_87,&g_87,(void*)0,&g_87,&g_87,&g_87,&g_87,&g_87},{&g_87,&g_87,(void*)0,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87},{&g_87,&g_87,(void*)0,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87},{&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,&g_87,(void*)0},{&g_87,(void*)0,(void*)0,&g_87,&g_87,&g_87,&g_87,&g_87,(void*)0,&g_87},{(void*)0,(void*)0,&g_87,&g_87,&g_87,&g_87,&g_87,(void*)0,(void*)0,&g_87}};
                uint64_t *l_407 = (void*)0;
                uint64_t *l_408[7];
                const int64_t l_433 = 3L;
                uint32_t l_442 = 18446744073709551607UL;
                struct S1 l_498[2] = {{0x0C6E26E957CD223DLL},{0x0C6E26E957CD223DLL}};
                int i, j;
                for (i = 0; i < 7; i++)
                    l_408[i] = &g_343;
                (*l_382) = l_381;
                if ((!((safe_add_func_uint8_t_u_u((l_387 < ((l_377.f0 < (((g_87 = ((((g_269 |= (safe_mod_func_int64_t_s_s(p_65, (safe_add_func_uint64_t_u_u((l_409 = (!((g_185 , &g_87) == ((safe_rshift_func_uint8_t_u_s((safe_sub_func_int16_t_s_s((l_398 = p_65), (g_119 >= ((-2L) >= ((((+((void*)0 == g_400)) & p_65) < g_339[0]) >= 0x0CB4FB55L))))), p_65)) , &g_87)))), p_65))))) >= l_387) || 1UL) , 1L)) | l_82) <= g_27)) > g_27)), 0L)) | 0xF142828476176802LL)))
                { /* block id: 148 */
                    int32_t *l_413[6][6][4] = {{{&l_88,(void*)0,&l_88,&l_88},{(void*)0,(void*)0,(void*)0,&g_56},{(void*)0,&g_56,&l_88,&l_88},{(void*)0,&l_88,(void*)0,(void*)0},{(void*)0,&l_88,&l_88,(void*)0},{&l_88,&l_88,&g_56,&l_88}},{{&g_56,&g_56,&g_56,&g_56},{&l_88,(void*)0,&l_88,&l_88},{(void*)0,(void*)0,(void*)0,&g_56},{(void*)0,&g_56,&l_88,&l_88},{(void*)0,&l_88,(void*)0,(void*)0},{(void*)0,&l_88,&l_88,(void*)0}},{{&l_88,&l_88,&g_56,&l_88},{&g_56,&g_56,&g_56,&g_56},{&l_88,(void*)0,&l_88,&l_88},{(void*)0,(void*)0,(void*)0,&g_56},{(void*)0,&g_56,&l_88,&l_88},{(void*)0,&l_88,(void*)0,(void*)0}},{{(void*)0,&l_88,&l_88,(void*)0},{&l_88,&l_88,&g_56,&l_88},{&g_56,&g_56,&g_56,&g_56},{&l_88,(void*)0,&l_88,&l_88},{(void*)0,(void*)0,(void*)0,&g_56},{(void*)0,&g_56,&l_88,&l_88}},{{(void*)0,&l_88,(void*)0,(void*)0},{(void*)0,&l_88,&l_88,(void*)0},{&l_88,&l_88,&g_56,&l_88},{&g_56,&g_56,&g_56,&g_56},{&l_88,(void*)0,&l_88,&l_88},{(void*)0,(void*)0,(void*)0,&g_56}},{{(void*)0,&g_56,&l_88,&l_88},{(void*)0,&l_88,(void*)0,(void*)0},{(void*)0,&l_88,&l_88,(void*)0},{&l_88,&l_88,&g_56,&l_88},{&g_56,&g_56,&g_56,&g_56},{&l_88,(void*)0,&l_88,&l_88}}};
                    uint8_t **l_419 = &l_334;
                    uint8_t ***l_418[3][4][6] = {{{&l_419,&l_419,(void*)0,&l_419,(void*)0,&l_419},{(void*)0,&l_419,&l_419,&l_419,&l_419,(void*)0},{&l_419,&l_419,&l_419,&l_419,(void*)0,(void*)0},{&l_419,&l_419,&l_419,&l_419,&l_419,&l_419}},{{&l_419,&l_419,&l_419,&l_419,&l_419,&l_419},{(void*)0,(void*)0,&l_419,&l_419,&l_419,(void*)0},{&l_419,&l_419,&l_419,&l_419,&l_419,&l_419},{(void*)0,&l_419,&l_419,&l_419,(void*)0,(void*)0}},{{&l_419,&l_419,&l_419,&l_419,&l_419,&l_419},{&l_419,&l_419,&l_419,&l_419,&l_419,&l_419},{(void*)0,(void*)0,&l_419,&l_419,&l_419,(void*)0},{&l_419,&l_419,&l_419,&l_419,&l_419,&l_419}}};
                    uint8_t **l_420 = &l_334;
                    int32_t l_426 = 0L;
                    int i, j, k;
                    l_387 ^= (*g_277);
                    l_411[1] |= (~p_65);
                    if ((0x06L > ((((*l_382) = &l_376[1]) == (void*)0) | (((g_56 = l_412[0]) , ((safe_sub_func_uint64_t_u_u((((p_65 , g_416) != (l_420 = &l_334)) > (safe_mul_func_int64_t_s_s(g_423, (((safe_mod_func_int16_t_s_s((1L | 0UL), l_377.f0)) & g_87) | p_65)))), p_65)) == l_426)) != g_87))))
                    { /* block id: 154 */
                        (*g_428) = l_427;
                    }
                    else
                    { /* block id: 156 */
                        int32_t ****l_429 = &l_374[1];
                        if (p_65)
                            break;
                        (*l_429) = (void*)0;
                    }
                    l_409 |= (safe_mul_func_int64_t_s_s((-1L), g_10));
                }
                else
                { /* block id: 161 */
                    uint16_t *l_465 = (void*)0;
                    uint16_t *l_466 = &g_119;
                    int32_t l_467 = 0x91153D4AL;
                    (*g_277) = (+0xF332L);
                    if (l_433)
                        continue;
                    for (l_92 = 16; (l_92 != (-21)); l_92 = safe_sub_func_int8_t_s_s(l_92, 1))
                    { /* block id: 166 */
                        struct S1 l_436 = {-4L};
                        struct S1 *l_438 = &l_377;
                        struct S1 * const *l_437[2];
                        int32_t l_439 = 0x6630447DL;
                        int i;
                        for (i = 0; i < 2; i++)
                            l_437[i] = &l_438;
                        l_439 = ((l_436 , l_437[1]) == &g_378);
                    }
                    l_467 = ((safe_sub_func_uint64_t_u_u(g_185.f0, 0xD16A6CDCC8699196LL)) && (l_442 == (((safe_rshift_func_uint16_t_u_s(g_317[0], ((safe_rshift_func_uint16_t_u_s((safe_lshift_func_int16_t_s_s((safe_sub_func_int16_t_s_s(1L, ((*l_466) = (safe_div_func_int8_t_s_s((safe_lshift_func_int64_t_s_u((((safe_sub_func_int32_t_s_s(0x3F3FB56DL, (safe_mul_func_int16_t_s_s(p_65, (safe_mod_func_int32_t_s_s(l_387, (safe_sub_func_int64_t_s_s((((*l_334) &= (safe_mul_func_int64_t_s_s(l_427.f0, (-3L)))) >= 0xFCL), p_65)))))))) , p_65) != 255UL), 39)), p_65))))), l_467)), g_317[0])) > l_387))) & p_65) | g_209.f0)));
                }
                if ((safe_lshift_func_int32_t_s_s(l_398, (safe_add_func_int8_t_s_s((l_397[3][4] == &l_73), (0UL ^ 0UL))))))
                { /* block id: 173 */
                    int8_t *l_485 = &g_269;
                    struct S1 *l_492 = &l_427;
                    uint32_t *l_497 = &l_442;
                    const int32_t *l_506 = &g_507;
                    const int16_t l_510[3][7][2] = {{{(-1L),1L},{0x37DFL,1L},{(-1L),1L},{0x37DFL,1L},{(-1L),1L},{0x37DFL,1L},{(-1L),1L}},{{0x37DFL,1L},{(-1L),1L},{0x37DFL,1L},{(-1L),1L},{0x37DFL,1L},{(-1L),1L},{0x37DFL,1L}},{{(-1L),1L},{0x37DFL,1L},{(-1L),1L},{0x37DFL,1L},{(-1L),1L},{0x37DFL,1L},{(-1L),1L}}};
                    int i, j, k;
                    for (g_269 = 0; (g_269 > (-18)); g_269--)
                    { /* block id: 176 */
                        return p_65;
                    }
                    for (l_377.f0 = 9; (l_377.f0 == (-14)); l_377.f0 = safe_sub_func_int64_t_s_s(l_377.f0, 7))
                    { /* block id: 181 */
                        int8_t **l_486 = &l_485;
                        int32_t l_495 = 0xAC44453BL;
                        int32_t *l_509 = &g_56;
                        int32_t **l_508 = &l_509;
                        int64_t *l_511 = (void*)0;
                        int32_t l_513[2];
                        int i;
                        for (i = 0; i < 2; i++)
                            l_513[i] = 0x36443A6CL;
                        if (l_88)
                            break;
                        l_499 = func_68((+(((safe_mul_func_uint64_t_u_u((safe_add_func_int64_t_s_s(((safe_sub_func_uint64_t_u_u((0x319AEABEDDEFFCEDLL < (safe_add_func_uint16_t_u_u((((void*)0 == l_485) , ((g_185.f3 , &g_269) != ((*l_486) = &g_269))), ((safe_add_func_int16_t_s_s(((~(safe_div_func_int8_t_s_s((((((void*)0 == l_492) , ((safe_div_func_uint8_t_u_u(0x97L, g_90[3][1])) <= l_495)) || 0xA5L) ^ 0x65L), g_187))) , (-4L)), 0x72ABL)) == 0L)))), p_65)) && 0xACF6L), l_496)), g_423)) > g_52) & l_411[1])), l_497, (*g_191), l_498[1]);
                        l_82 &= (1UL == (((((safe_lshift_func_uint64_t_u_s(((((l_495 = (safe_add_func_int64_t_s_s((((&l_94 == (void*)0) , g_369) == l_370), ((safe_mul_func_int16_t_s_s(p_65, ((l_506 = (void*)0) != ((*l_508) = (void*)0)))) == (l_510[2][3][1] & l_495))))) || l_512) , p_65) != p_65), p_65)) & (*g_191)) > 0L) >= 0x42L) <= l_513[1]));
                        if (p_65)
                            continue;
                    }
                }
                else
                { /* block id: 191 */
                    volatile struct S0 **l_514[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                    int i;
                    l_515[1] = &g_247;
                }
            }
        }
        (*g_277) = p_65;
        (*g_210) = p_65;
    }
    l_520++;
    if (((((((((l_541 = ((safe_sub_func_uint16_t_u_u(((l_525[0] = (void*)0) == (g_528 = &l_95)), (p_65 = (p_65 == ((*l_531) = (--(*g_191))))))) & ((g_537 = (safe_lshift_func_uint32_t_u_s(g_535, (g_90[3][1] || 6UL)))) , (0x5E03L > ((*l_540) = (((5UL > (g_209.f0 &= (1UL > g_519))) <= 0x95L) != 65532UL)))))) >= l_542[0]) | g_423) , p_65) , p_65) , (void*)0) == &g_312) >= g_507))
    { /* block id: 209 */
        int32_t **l_549 = &g_26[2];
        int32_t l_553 = 4L;
        uint32_t l_569 = 0xBE63C362L;
        int32_t l_589 = 0xFC5667C1L;
        struct S1 **l_606[9][10] = {{&l_525[0],&l_527,(void*)0,&l_527,(void*)0,&l_527,(void*)0,&l_527,&l_525[0],(void*)0},{&l_525[0],&l_525[0],&l_525[0],&l_527,&l_527,(void*)0,(void*)0,&l_527,&l_527,&l_525[0]},{(void*)0,(void*)0,&l_527,&l_527,&l_525[0],&l_525[0],&l_525[0],(void*)0,&l_525[0],&l_525[0]},{(void*)0,&l_527,(void*)0,&l_527,(void*)0,&l_527,&l_525[0],(void*)0,&l_525[1],&l_525[1]},{&l_527,(void*)0,(void*)0,&l_525[0],&l_525[0],(void*)0,(void*)0,&l_527,(void*)0,&l_525[1]},{(void*)0,&l_525[0],(void*)0,&g_528,(void*)0,&l_525[0],(void*)0,&g_528,(void*)0,&l_525[0]},{(void*)0,&l_527,(void*)0,(void*)0,&l_525[0],&g_528,&l_527,&l_527,&g_528,&l_525[0]},{&l_525[1],(void*)0,(void*)0,&l_525[1],&l_527,&g_528,(void*)0,(void*)0,&l_525[0],(void*)0},{(void*)0,&l_525[0],(void*)0,&l_527,(void*)0,&l_527,&l_525[1],(void*)0,(void*)0,&l_525[0]}};
        int32_t *l_629 = (void*)0;
        int32_t **l_628 = &l_629;
        uint8_t l_653[3];
        uint64_t l_755 = 0UL;
        int8_t *l_786 = &g_269;
        uint32_t l_801[6] = {0x803AFBF9L,0x803AFBF9L,0x803AFBF9L,0x803AFBF9L,0x803AFBF9L,0x803AFBF9L};
        int i, j;
        for (i = 0; i < 3; i++)
            l_653[i] = 0UL;
        for (l_92 = 8; (l_92 > (-25)); l_92 = safe_sub_func_uint16_t_u_u(l_92, 6))
        { /* block id: 212 */
            uint32_t l_547 = 0x96778122L;
            int32_t l_552 = 1L;
            for (l_73 = (-15); (l_73 >= 54); ++l_73)
            { /* block id: 215 */
                int32_t **l_550 = &g_26[4];
                int8_t *l_551[2];
                int i;
                for (i = 0; i < 2; i++)
                    l_551[i] = (void*)0;
                (*g_277) = l_547;
                l_553 |= (g_185.f3 == ((l_552 = ((+((((8UL != ((*g_191) = (*g_191))) ^ l_547) != (-1L)) | (((((l_549 = (void*)0) != (l_550 = (void*)0)) , l_551[1]) == (void*)0) , p_65))) || p_65)) || 0x28DB5A0EL));
            }
            l_552 = 1L;
        }
        for (l_518 = 0; (l_518 <= 0); l_518 += 1)
        { /* block id: 227 */
            int32_t l_575[1];
            uint32_t *l_592[2][8][9] = {{{&g_537,&l_569,&g_537,&g_339[0],&l_569,&g_339[0],&g_339[0],&l_569,&g_339[0]},{&g_339[0],&l_569,&g_339[0],&g_537,&l_569,&g_339[0],&g_339[0],&l_569,&g_537},{&g_537,&l_569,&g_537,&g_339[0],&l_569,&g_339[0],&g_339[0],&l_569,&g_339[0]},{&g_339[0],&l_569,&g_339[0],&g_537,&l_569,&g_339[0],&g_339[0],&l_569,&g_537},{&g_537,&l_569,&g_537,&g_339[0],&l_569,&g_339[0],&g_339[0],&l_569,&g_339[0]},{&g_339[0],&l_569,&g_339[0],&g_537,&l_569,&g_339[0],&g_339[0],&l_569,&g_537},{&g_537,&l_569,&g_537,&g_339[0],&l_569,&g_339[0],&g_339[0],&l_569,&g_339[0]},{&g_339[0],&l_569,&g_339[0],&g_537,&l_569,&g_339[0],&g_339[0],&l_569,&g_537}},{{&g_537,&l_569,&g_537,&g_339[0],&l_569,&g_339[0],&g_339[0],&l_569,&g_339[0]},{&g_339[0],&l_569,&g_339[0],&g_537,&l_569,&g_339[0],&g_339[0],&l_569,&g_537},{&g_537,&l_569,&g_537,&g_339[0],&l_569,&g_339[0],&g_339[0],&l_569,&g_339[0]},{&g_339[0],&l_569,&g_339[0],&g_537,&l_569,&g_339[0],&g_339[0],&l_569,&g_537},{&g_537,&l_569,&g_537,&g_339[0],&l_569,&g_339[0],&g_339[0],&l_569,&g_339[0]},{&g_339[0],&l_569,&g_339[0],&g_537,&l_569,&g_339[0],&g_339[0],&l_569,&g_537},{&g_537,&l_569,&g_537,&g_339[0],&l_569,&g_339[0],&g_339[0],&l_569,&g_339[0]},{&g_339[0],&l_569,&g_339[0],&g_537,&l_569,&g_339[0],&g_339[0],&l_569,&g_537}}};
            uint16_t *l_625[7] = {&g_119,&g_119,&g_119,&g_119,&g_119,&g_119,&g_119};
            int32_t ** const l_630 = &l_629;
            uint64_t *l_634 = &l_520;
            uint8_t *l_642 = &g_90[6][2];
            int32_t ***l_647 = &g_312;
            const int32_t **l_649 = &g_612[1][2][1];
            const int32_t ** const *l_648 = &l_649;
            const int32_t ** const **l_650 = &l_648;
            int8_t *l_651 = &g_269;
            int i, j, k;
            for (i = 0; i < 1; i++)
                l_575[i] = 0x774BC575L;
            if (g_317[l_518])
                break;
            for (g_343 = 1; (g_343 <= 4); g_343 += 1)
            { /* block id: 231 */
                uint8_t *l_557 = &g_90[4][0];
                int32_t *****l_567 = &g_565;
                int32_t *l_615[10][9] = {{&l_541,&g_319,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,&g_319,&l_541},{(void*)0,&g_27,&l_542[g_343],(void*)0,&l_575[0],&g_319,&l_553,&g_319,&l_575[0]},{&l_92,&l_553,&l_553,&l_92,(void*)0,&g_27,&l_575[0],&l_575[0],(void*)0},{&g_27,(void*)0,&l_92,&l_553,&l_553,&l_92,(void*)0,&g_27,&l_575[0]},{(void*)0,&l_553,(void*)0,&g_27,&l_541,(void*)0,(void*)0,&l_541,&g_27},{&l_575[0],(void*)0,&l_575[0],&g_319,(void*)0,&l_553,(void*)0,&l_575[0],&l_575[0]},{&l_92,(void*)0,&l_575[0],(void*)0,&l_575[0],(void*)0,&l_92,(void*)0,(void*)0},{(void*)0,&l_553,(void*)0,&g_319,&l_575[0],(void*)0,&l_575[0],&g_319,(void*)0},{(void*)0,(void*)0,&l_541,&g_27,(void*)0,&l_553,(void*)0,(void*)0,(void*)0},{(void*)0,&l_92,&l_553,&l_553,&l_92,(void*)0,&g_27,&l_575[0],&l_575[0]}};
                struct S1 l_624 = {0x35028EEF8A0E56D7LL};
                int i, j;
                (*g_277) = (safe_add_func_uint16_t_u_u(((!(((*l_557) ^= l_542[g_343]) , 1UL)) >= ((((g_209.f0 |= (+((safe_rshift_func_uint32_t_u_s(g_317[l_518], (((safe_div_func_uint64_t_u_u((((void*)0 == &g_216) , ((g_87 &= (safe_div_func_int64_t_s_s(((p_65 | (l_568 = (((*l_567) = g_565) != (void*)0))) || 0x2574166F3FD82824LL), p_65))) <= 0xC270L)), l_569)) && p_65) || p_65))) ^ 0x5EE0809AL))) <= p_65) <= p_65) >= 0x52FC771082345B0ALL)), p_65));
                if ((0x47L == ((l_542[g_343] | (((*l_540) = (+(safe_lshift_func_uint32_t_u_u(((p_65 == ((safe_lshift_func_int64_t_s_s((l_575[0] &= 0xBF6F475C936784AALL), (safe_mod_func_uint64_t_u_u((safe_add_func_int8_t_s_s(0xACL, p_65)), (safe_lshift_func_uint16_t_u_u(((((*l_557)++) >= ((-1L) ^ l_569)) , p_65), p_65)))))) && 0xE2L)) || p_65), (*g_191))))) && (-6L))) >= (-1L))))
                { /* block id: 241 */
                    return (*g_191);
                }
                else
                { /* block id: 243 */
                    uint16_t l_605 = 0UL;
                    int8_t l_607 = (-8L);
                    l_553 ^= p_65;
                    for (l_553 = 11; (l_553 >= (-29)); l_553 = safe_sub_func_int32_t_s_s(l_553, 3))
                    { /* block id: 247 */
                        int32_t *l_586 = (void*)0;
                        l_586 = (void*)0;
                        l_589 = (((void*)0 != &g_269) && (safe_rshift_func_uint32_t_u_u(4294967294UL, (*g_191))));
                        if ((*g_210))
                            break;
                    }
                    if (p_65)
                        break;
                    if ((safe_rshift_func_int32_t_s_s(((void*)0 == l_592[0][1][4]), ((p_65 , ((**l_567) == (void*)0)) | (safe_mul_func_int64_t_s_s((safe_sub_func_uint8_t_u_u((safe_sub_func_int64_t_s_s(g_185.f0, ((((safe_mul_func_uint8_t_u_u((safe_div_func_uint64_t_u_u((safe_lshift_func_uint64_t_u_u(((*g_565) == (**l_567)), 50)), p_65)), 1L)) , l_605) , (void*)0) == l_606[3][6]))), 0x68L)), 1UL))))))
                    { /* block id: 253 */
                        if (l_607)
                            break;
                        l_575[0] |= p_65;
                    }
                    else
                    { /* block id: 256 */
                        const uint16_t l_608[3] = {0xDEDDL,0xDEDDL,0xDEDDL};
                        int32_t *l_614 = &g_519;
                        int i;
                        (*g_613) = ((l_608[2] , g_609) , l_610);
                        l_615[2][0] = l_614;
                        (*g_528) = ((safe_rshift_func_uint16_t_u_u(g_516.f4, ((l_575[0] |= ((0x9BL ^ ((safe_sub_func_uint64_t_u_u(g_209.f0, ((safe_mul_func_int32_t_s_s((safe_mod_func_int32_t_s_s((((((0UL ^ p_65) & (*g_191)) , &g_119) != (void*)0) < (g_90[2][2] ^ l_605)), l_605)), p_65)) | p_65))) != 0L)) >= g_90[0][2])) < p_65))) , l_624);
                    }
                }
            }
            l_575[0] &= ((((((((void*)0 != l_625[0]) && (g_516.f2 & ((safe_add_func_uint16_t_u_u(((l_628 != l_630) <= (g_343++)), 65528UL)) != ((*l_634) = l_633)))) == (l_653[2] &= (!(safe_rshift_func_uint64_t_u_s((safe_rshift_func_int32_t_s_u((safe_div_func_uint32_t_u_u((((((*l_651) |= (((*l_642)--) != ((safe_lshift_func_int32_t_s_s(((l_647 != ((*l_650) = l_648)) == g_56), p_65)) , p_65))) && p_65) && (-8L)) > p_65), g_652[2][4])), p_65)), p_65))))) != p_65) , 1UL) & g_317[0]) || (*g_191));
        }
        for (g_269 = 0; (g_269 <= 24); g_269 = safe_add_func_uint16_t_u_u(g_269, 2))
        { /* block id: 274 */
            struct S1 l_663 = {0x3D4851721E9462B1LL};
            int8_t *l_664 = (void*)0;
            int8_t *l_665 = &g_666;
            int32_t l_669[4];
            int32_t l_706 = 0xDC5A29C6L;
            struct S1 l_758 = {0x6E13F1D24F5A6371LL};
            struct S0 *l_765 = &g_766[6];
            struct S0 * const *l_764 = &l_765;
            int32_t **l_791[5][8] = {{&g_777[2][0][0],&g_777[2][0][0],&g_777[1][0][1],&l_629,&l_629,&g_777[1][0][1],&l_629,&l_629},{&g_777[2][0][0],&l_629,&g_777[2][0][0],&l_629,&l_629,&g_777[1][0][4],&g_777[1][0][4],&l_629},{&l_629,&g_777[1][0][4],&g_777[1][0][4],&l_629,&l_629,&g_777[2][0][0],&l_629,&g_777[2][0][0]},{&l_629,&l_629,&g_777[1][0][1],&l_629,&l_629,&g_777[1][0][1],&g_777[2][0][0],&g_777[2][0][0]},{&g_777[2][0][0],&l_629,&l_629,&l_629,&l_629,&g_777[2][0][0],&g_777[1][0][4],&l_629}};
            int32_t **l_794 = &g_777[3][0][2];
            int32_t *l_802 = (void*)0;
            int i, j;
            for (i = 0; i < 4; i++)
                l_669[i] = 0L;
            l_669[0] &= (safe_mul_func_int64_t_s_s(((0xA1AF72A8L != ((0x48F7114A749859C5LL < ((safe_div_func_uint32_t_u_u(((safe_unary_minus_func_uint32_t_u((((*l_665) = (safe_mod_func_uint8_t_u_u(1UL, (l_663 , (*g_417))))) | (((0x8AB0L && ((safe_lshift_func_int32_t_s_u(p_65, 28)) ^ l_663.f0)) && p_65) & p_65)))) == g_519), 4L)) && (*g_417))) || l_663.f0)) != l_663.f0), 0L));
            if (p_65)
            { /* block id: 277 */
                int16_t l_672 = 1L;
                struct S1 *l_718 = &l_95;
                int32_t l_749 = (-4L);
                for (g_319 = (-3); (g_319 == 18); g_319 = safe_add_func_int32_t_s_s(g_319, 3))
                { /* block id: 280 */
                    uint64_t *l_677 = (void*)0;
                    uint64_t *l_678 = &l_520;
                    uint64_t *l_682 = &g_343;
                    const int32_t l_693[4] = {0x4A2AE7DDL,0x4A2AE7DDL,0x4A2AE7DDL,0x4A2AE7DDL};
                    uint8_t *l_705 = &l_653[2];
                    const uint32_t *l_714 = &g_715;
                    const uint32_t ** const l_713 = &l_714;
                    const uint32_t ** const *l_712 = &l_713;
                    int32_t *l_724 = &l_92;
                    struct S1 l_740[6] = {{-9L},{-9L},{-9L},{-9L},{-9L},{-9L}};
                    int i;
                    for (g_537 = 0; (g_537 <= 4); g_537 += 1)
                    { /* block id: 283 */
                        (*g_528) = (*g_378);
                    }
                    if (p_65)
                        break;
                    l_672 = p_65;
                    if ((((l_669[2] = (safe_lshift_func_uint16_t_u_u((safe_lshift_func_uint64_t_u_u(((*l_678)++), 10)), (~((*l_682) = p_65))))) , p_65) < (((*l_610) || ((((safe_mul_func_uint32_t_u_u(p_65, (1L == ((safe_mul_func_int32_t_s_s(p_65, (safe_mod_func_int8_t_s_s((((safe_div_func_uint32_t_u_u((safe_sub_func_int8_t_s_s(l_693[3], (safe_lshift_func_int16_t_s_u(((safe_add_func_uint16_t_u_u((l_672 == ((!(((*l_705) = (safe_add_func_int16_t_s_s(((safe_div_func_uint8_t_u_u((safe_mul_func_uint16_t_u_u(l_672, p_65)), 0x89L)) , 0xE0F2L), (*l_610)))) || p_65)) , p_65)), g_516.f0)) == 0x36L), p_65)))), p_65)) , p_65) , (-2L)), 5L)))) | p_65)))) | l_706) , l_707) != (void*)0)) >= 0x2B878AE6L)))
                    { /* block id: 292 */
                        struct S1 l_708 = {0x0BD5FA540AEE2954LL};
                        int32_t l_723 = 0x49B2D4BCL;
                        int32_t *l_725 = &g_652[2][3];
                        (*g_428) = l_708;
                        l_723 &= ((((((*l_540) = ((l_712 = g_709) != &g_401[5][0][0])) | l_708.f0) <= l_672) == ((g_87 |= (((7UL || (((safe_add_func_uint16_t_u_u((((((((*l_678) ^= ((*l_682) |= ((((void*)0 == l_718) , ((safe_add_func_int32_t_s_s((safe_rshift_func_uint16_t_u_u((((void*)0 == &g_417) <= p_65), l_693[2])), l_672)) | l_693[3])) >= 0x11F9D273L))) == l_693[3]) < p_65) < 0xEF33L) >= 251UL) ^ l_693[3]), 0x4FD0L)) || 65535UL) && (*g_417))) > 65533UL) & 0x111B6CCDL)) || l_669[0])) , l_708.f0);
                        l_725 = (l_724 = &g_519);
                    }
                    else
                    { /* block id: 302 */
                        int32_t l_746 = 0L;
                        volatile struct S0 **l_757 = &l_515[1];
                        (*g_565) = (*g_565);
                        (*l_724) = (safe_add_func_int16_t_s_s((((g_756 = ((2L <= (safe_mul_func_int64_t_s_s(0x398528BD31E24CD9LL, ((((((safe_rshift_func_int8_t_s_u((safe_lshift_func_int8_t_s_u((safe_sub_func_uint64_t_u_u((safe_rshift_func_uint32_t_u_u(((l_669[0] = ((safe_div_func_uint32_t_u_u((l_740[4] , (((+((safe_mul_func_int32_t_s_s(p_65, (safe_lshift_func_int32_t_s_u(l_746, 23)))) == (l_749 = (safe_sub_func_uint8_t_u_u(0xB2L, ((*l_705) = 250UL)))))) <= (safe_div_func_int64_t_s_s((safe_unary_minus_func_int16_t_s((safe_mul_func_int16_t_s_s((l_755 , (g_87 ^= p_65)), 0x321AL)))), p_65))) && p_65)), p_65)) >= 0xAE2DL)) <= 4UL), (*g_191))), 18446744073709551612UL)), p_65)), 3)) , (*l_724)) , p_65) <= (*l_724)) < p_65) >= p_65)))) ^ 0x3081L)) <= l_672) != 0UL), 0xAB2DL));
                        (*l_757) = l_515[1];
                        if (l_746)
                            continue;
                    }
                }
                for (g_666 = 1; (g_666 >= 0); g_666 -= 1)
                { /* block id: 316 */
                    uint16_t l_763 = 65535UL;
                    struct S0 ***l_769 = &g_767;
                    uint8_t *l_778 = &g_90[3][1];
                    int32_t l_779 = 0x99AA1F23L;
                    int i, j;
                    l_779 = ((l_758 , ((*l_778) = (safe_mod_func_int8_t_s_s((((safe_mul_func_uint64_t_u_u((l_763 = g_652[2][4]), (((((0L <= (l_669[0] = (l_764 != ((*l_769) = g_767)))) & ((safe_add_func_int16_t_s_s((4L >= (0xC030793B1E46F9A8LL != ((safe_mod_func_int8_t_s_s((safe_add_func_uint64_t_u_u(((void*)0 != g_776), p_65)), 1L)) , 18446744073709551615UL))), g_339[0])) > p_65)) , 0x2A6AD817D38944C5LL) != g_339[0]) & 0x0581C19BL))) || l_706) || p_65), (*g_417))))) , 1L);
                }
            }
            else
            { /* block id: 323 */
                int32_t l_796[10] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
                int i;
                for (l_663.f0 = 3; (l_663.f0 >= 0); l_663.f0 -= 1)
                { /* block id: 326 */
                    int8_t **l_782 = (void*)0;
                    int8_t **l_783 = &l_665;
                    int32_t ***l_792 = &l_628;
                    int32_t ***l_793[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                    int i;
                    l_589 = ((g_209.f0 = p_65) , ((safe_add_func_uint32_t_u_u(((((*l_783) = &g_666) == ((p_65 , (safe_mod_func_int32_t_s_s((-1L), 0x9A1DCA01L))) , l_786)) | (safe_lshift_func_uint16_t_u_s(((safe_rshift_func_int8_t_s_u(((void*)0 != l_791[1][6]), 4)) == (((l_794 = ((*l_792) = (g_423 , &l_629))) == l_795) >= 0xEF14L)), l_796[3]))), l_796[3])) && 0x626EDA7554B146CDLL));
                    for (l_569 = 0; (l_569 <= 3); l_569 += 1)
                    { /* block id: 334 */
                        uint8_t l_797 = 255UL;
                        int i, j, k;
                        l_797++;
                        if (g_187)
                            goto lbl_800;
                        if (p_65)
                            break;
                    }
                    for (l_520 = 0; (l_520 <= 3); l_520 += 1)
                    { /* block id: 341 */
                        int i, j, k;
                        g_612[l_520][(l_520 + 2)][l_520] = (*g_613);
                    }
                    for (l_95.f0 = 3; (l_95.f0 >= 0); l_95.f0 -= 1)
                    { /* block id: 346 */
                        l_801[3] ^= p_65;
                    }
                }
                l_802 = &l_669[0];
            }
        }
        l_553 = (1UL < (safe_sub_func_int8_t_s_s(p_65, 253UL)));
    }
    else
    { /* block id: 354 */
        uint32_t l_809 = 18446744073709551615UL;
        uint64_t *l_812 = &g_343;
        int32_t l_821 = 0x3818A1F9L;
        int32_t l_822 = (-8L);
        struct S1 l_826 = {0x1878D25D3276D464LL};
        struct S1 *l_830[3][6] = {{(void*)0,(void*)0,&g_209,&g_209,&l_826,&g_209},{&g_209,(void*)0,&g_209,(void*)0,&g_209,&g_209},{&l_95,&g_209,&g_209,&l_95,(void*)0,&g_209}};
        uint8_t * const *l_843 = (void*)0;
        uint8_t * const **l_842 = &l_843;
        int i, j;
        if (p_65)
            goto lbl_800;
        l_822 |= (safe_rshift_func_int8_t_s_s((((safe_add_func_uint32_t_u_u(l_809, p_65)) && 0x2034L) | (safe_sub_func_uint64_t_u_u((((*l_812) = p_65) > ((safe_mod_func_uint32_t_u_u(((safe_add_func_int64_t_s_s(p_65, ((((((+((p_65 && (0xA3L <= (safe_div_func_uint32_t_u_u(0x5C7B3993L, (l_820 , (*g_191)))))) , l_809)) || 0x4F82L) , (void*)0) != (void*)0) , 1L) == l_821))) != (**g_416)), p_65)) , p_65)), g_652[1][6]))), l_821));
        for (g_269 = 4; (g_269 >= (-5)); g_269--)
        { /* block id: 360 */
            uint32_t l_825 = 0xBB7A4111L;
            struct S1 *l_829 = &g_209;
            uint8_t ** const *l_844 = (void*)0;
            int32_t l_847 = 1L;
            l_825 &= 0xEFB494BEL;
            l_826 = (*g_378);
            for (l_821 = 0; (l_821 >= 23); l_821++)
            { /* block id: 365 */
                uint16_t l_840 = 3UL;
                int32_t l_841 = (-4L);
                struct S1 l_858 = {-8L};
                l_830[2][1] = l_829;
                l_822 ^= p_65;
                if (((safe_mul_func_uint64_t_u_u((0x1D6FL > (+(safe_unary_minus_func_int64_t_s((0xCC94L | ((((l_840 = ((safe_sub_func_int16_t_s_s((*l_610), l_837)) || (safe_rshift_func_uint8_t_u_s(l_822, p_65)))) == ((l_841 , l_842) != ((&g_119 == &l_73) , l_844))) , 0xF14BL) == l_841)))))), 0x144C38169EABAE7DLL)) == l_826.f0))
                { /* block id: 369 */
                    for (l_820 = 19; (l_820 < 7); l_820 = safe_sub_func_uint32_t_u_u(l_820, 4))
                    { /* block id: 372 */
                        uint16_t l_848 = 0x01E9L;
                        if ((*g_277))
                            break;
                        l_848--;
                    }
                    if (p_65)
                        break;
                }
                else
                { /* block id: 377 */
                    int64_t l_878 = 1L;
                    if (g_87)
                        goto lbl_800;
                    if (l_841)
                    { /* block id: 379 */
                        if ((*g_210))
                            break;
                    }
                    else
                    { /* block id: 381 */
                        uint8_t l_851 = 0xE4L;
                        l_851--;
                        if (l_840)
                            break;
                        (*g_857) = g_854;
                        (*g_528) = l_858;
                    }
                    l_841 ^= ((*g_428) , ((safe_add_func_int8_t_s_s((safe_sub_func_uint8_t_u_u(0UL, (~(((safe_sub_func_uint32_t_u_u((l_822 = ((((safe_mod_func_uint64_t_u_u((safe_mul_func_int64_t_s_s(p_65, (safe_rshift_func_uint64_t_u_s(((*l_812) = ((((safe_rshift_func_int16_t_s_s(g_756, 2)) ^ ((safe_mul_func_int16_t_s_s(0xAFDFL, (*l_610))) > (p_65 && (safe_rshift_func_uint16_t_u_s((4294967295UL ^ (*l_610)), g_535))))) < 0xB8D23EFF9CFB649ALL) & 0x03L)), 28)))), (-1L))) == l_878) >= l_847) && (*g_191))), p_65)) , p_65) , l_826.f0)))), 247UL)) || g_119));
                    (*g_378) = (*g_528);
                }
            }
        }
    }
    l_898[0][0][0] |= (safe_lshift_func_int8_t_s_u((&l_73 == ((safe_mod_func_int8_t_s_s((((safe_mod_func_int8_t_s_s((safe_rshift_func_uint64_t_u_s((safe_sub_func_uint64_t_u_u((safe_lshift_func_uint32_t_u_s(0UL, (safe_div_func_uint16_t_u_u(p_65, p_65)))), p_65)), 10)), (safe_add_func_uint32_t_u_u((((255UL > l_895) >= (safe_mod_func_int16_t_s_s(g_766[6].f4, (0xE23CL | g_209.f0)))) | p_65), 9UL)))) ^ p_65) <= p_65), 0x6CL)) , (void*)0)), (*l_610)));
    return (*g_191);
}


/* ------------------------------------------ */
/* 
 * reads : g_87 g_90 g_115 g_56 g_10 g_52 g_27 g_185 g_187 g_210 g_247 g_119 g_209.f0 g_268 g_269 g_277 g_216
 * writes: g_87 g_187 g_190 g_26 g_209 g_27 g_90 g_312 g_119
 */
static uint32_t * func_68(uint32_t  p_69, uint32_t * p_70, uint32_t  p_71, struct S1  p_72)
{ /* block id: 25 */
    int16_t *l_105 = &g_87;
    uint8_t *l_106 = &g_90[4][1];
    int32_t *l_107[9][3][3] = {{{&g_56,&g_56,&g_56},{(void*)0,&g_56,(void*)0},{&g_56,&g_56,&g_56}},{{&g_56,(void*)0,(void*)0},{&g_56,&g_56,&g_56},{&g_56,&g_56,(void*)0}},{{&g_56,&g_56,&g_56},{(void*)0,&g_56,(void*)0},{&g_56,&g_56,&g_56}},{{&g_56,(void*)0,(void*)0},{&g_56,&g_56,&g_56},{&g_56,&g_56,(void*)0}},{{&g_56,&g_56,&g_56},{(void*)0,&g_56,&g_56},{(void*)0,(void*)0,&g_56}},{{&g_56,&g_56,&g_56},{(void*)0,&g_56,&g_56},{(void*)0,(void*)0,&g_56}},{{&g_56,(void*)0,&g_56},{&g_56,&g_56,&g_56},{(void*)0,(void*)0,&g_56}},{{&g_56,&g_56,&g_56},{(void*)0,&g_56,&g_56},{(void*)0,(void*)0,&g_56}},{{&g_56,(void*)0,&g_56},{&g_56,&g_56,&g_56},{(void*)0,(void*)0,&g_56}}};
    int32_t l_108 = 0x2901D39AL;
    int32_t l_141 = 0L;
    int32_t l_146 = 0L;
    int32_t l_147 = 0xB9422D57L;
    int32_t l_158 = (-1L);
    int32_t l_161[9] = {0xAB573FC3L,0xEE5D022BL,0xAB573FC3L,0xEE5D022BL,0xAB573FC3L,0xEE5D022BL,0xAB573FC3L,0xEE5D022BL,0xAB573FC3L};
    int16_t l_163 = (-1L);
    uint32_t l_217[3][7] = {{1UL,0UL,0x5F52A438L,6UL,6UL,0x5F52A438L,0UL},{1UL,0x60972ECEL,18446744073709551609UL,1UL,0xB86DF315L,0xB86DF315L,1UL},{18446744073709551609UL,0UL,18446744073709551609UL,0xB86DF315L,0UL,0x60972ECEL,0x60972ECEL}};
    uint32_t l_225 = 18446744073709551615UL;
    uint64_t l_254 = 0UL;
    const struct S1 l_257[2][8] = {{{0x6C52F704F95B034CLL},{0x6C52F704F95B034CLL},{0xEC6936C785E578CBLL},{0x6C52F704F95B034CLL},{0x6C52F704F95B034CLL},{0xEC6936C785E578CBLL},{0x6C52F704F95B034CLL},{0x6C52F704F95B034CLL}},{{0x7C3126E4552CEB1BLL},{0x6C52F704F95B034CLL},{0x7C3126E4552CEB1BLL},{0x7C3126E4552CEB1BLL},{0x6C52F704F95B034CLL},{0x7C3126E4552CEB1BLL},{0x7C3126E4552CEB1BLL},{0x6C52F704F95B034CLL}}};
    uint64_t *l_270 = &l_254;
    uint32_t * const *l_275 = &g_191;
    int32_t *l_276 = &l_141;
    uint32_t l_300 = 0x56082626L;
    int i, j, k;
    for (g_87 = 2; (g_87 >= 0); g_87 -= 1)
    { /* block id: 28 */
        int64_t l_128 = (-1L);
        int32_t l_132 = (-7L);
        int32_t l_142 = 0x0BCFFD8EL;
        int32_t l_151[8][6][3] = {{{0x977FD1FBL,0x5F24046DL,(-7L)},{(-1L),4L,(-1L)},{(-7L),0x5F24046DL,0x977FD1FBL},{(-6L),0x4E14C39AL,0x977FD1FBL},{1L,(-6L),(-1L)},{0x2FC49AC2L,0x2FC49AC2L,(-7L)}},{{1L,(-7L),(-6L)},{(-6L),(-7L),1L},{(-7L),0x2FC49AC2L,0x2FC49AC2L},{(-1L),(-6L),1L},{0x977FD1FBL,0x4E14C39AL,(-6L)},{0x977FD1FBL,0x5F24046DL,(-7L)}},{{(-1L),4L,(-1L)},{(-7L),0x5F24046DL,0x977FD1FBL},{(-6L),0x4E14C39AL,0x977FD1FBL},{1L,(-6L),(-1L)},{0x2FC49AC2L,0x2FC49AC2L,(-7L)},{1L,(-7L),(-6L)}},{{(-6L),(-7L),1L},{(-7L),0x2FC49AC2L,0x2FC49AC2L},{(-1L),(-6L),1L},{0x977FD1FBL,0x4E14C39AL,(-6L)},{0x977FD1FBL,0x5F24046DL,(-7L)},{(-1L),4L,(-1L)}},{{(-7L),0x5F24046DL,0x977FD1FBL},{(-6L),0x4E14C39AL,0x977FD1FBL},{1L,(-6L),(-1L)},{0x2FC49AC2L,0x2FC49AC2L,(-7L)},{1L,(-7L),(-6L)},{(-6L),(-7L),1L}},{{(-7L),0x2FC49AC2L,0x2FC49AC2L},{(-1L),(-6L),1L},{0x977FD1FBL,0x4E14C39AL,(-6L)},{0x977FD1FBL,0x5F24046DL,(-7L)},{(-1L),0xD2E0C58DL,0x5F24046DL},{0x2FC49AC2L,(-7L),(-1L)}},{{4L,1L,(-1L)},{0x977FD1FBL,4L,0x5F24046DL},{0x149AC581L,0x149AC581L,0x2FC49AC2L},{0x977FD1FBL,0x2FC49AC2L,4L},{4L,0x2FC49AC2L,0x977FD1FBL},{0x2FC49AC2L,0x149AC581L,0x149AC581L}},{{0x5F24046DL,4L,0x977FD1FBL},{(-1L),1L,4L},{(-1L),(-7L),0x2FC49AC2L},{0x5F24046DL,0xD2E0C58DL,0x5F24046DL},{0x2FC49AC2L,(-7L),(-1L)},{4L,1L,(-1L)}}};
        int8_t l_215[6] = {0xE4L,0xC0L,0xC0L,0xE4L,0xC0L,0xC0L};
        int32_t *l_220 = &l_161[1];
        int32_t *l_221 = (void*)0;
        int32_t *l_222 = &l_161[1];
        int32_t *l_223 = &l_161[1];
        int32_t *l_224[10];
        int i, j, k;
        for (i = 0; i < 10; i++)
            l_224[i] = &g_27;
        for (p_69 = 1; (p_69 <= 4); p_69 += 1)
        { /* block id: 31 */
            int16_t *l_102 = &g_87;
            int32_t l_139 = (-1L);
            int32_t l_140 = 0L;
            int32_t l_143 = (-4L);
            int32_t l_144 = 0x7BF82209L;
            int32_t l_148 = 1L;
            int32_t l_150 = (-8L);
            int32_t l_152 = 0L;
            int32_t l_153 = 0x2F86C406L;
            int32_t l_154[4];
            int16_t l_203 = 2L;
            int i, j;
            for (i = 0; i < 4; i++)
                l_154[i] = 0xF41E0092L;
            if (((safe_mod_func_int16_t_s_s((((safe_mul_func_int32_t_s_s(((((((safe_sub_func_uint16_t_u_u((0x3A94L == ((void*)0 != l_102)), (safe_rshift_func_uint64_t_u_s(((void*)0 == l_105), 10)))) & (&g_52 != p_70)) , &g_90[(g_87 + 5)][g_87]) == l_106) , l_107[0][0][0]) != (void*)0), l_108)) , l_108) >= 0x84DB6C23L), g_90[(g_87 + 5)][g_87])) >= p_71))
            { /* block id: 32 */
                uint16_t **l_116 = (void*)0;
                uint16_t *l_118 = &g_119;
                uint16_t **l_117 = &l_118;
                int32_t l_131 = 0xD5E972E6L;
                int32_t l_156 = 0x0D0173B7L;
                int32_t l_157 = (-8L);
                int32_t l_160 = 1L;
                int32_t l_162 = 0L;
                int32_t l_164 = (-1L);
                uint8_t l_168 = 0UL;
                uint32_t *l_172 = (void*)0;
                if ((safe_sub_func_int8_t_s_s(((safe_mul_func_int64_t_s_s((safe_mul_func_uint32_t_u_u(((g_115 != ((*l_117) = (void*)0)) == (safe_div_func_uint16_t_u_u((safe_mul_func_int8_t_s_s((safe_lshift_func_int8_t_s_s(((((safe_lshift_func_uint32_t_u_s(((l_128 = (p_72.f0 != 0xE807L)) || p_72.f0), 12)) != (g_56 == (-7L))) < (((((safe_lshift_func_int8_t_s_u((l_131 = 1L), l_108)) != p_71) != l_132) && 0x89L) ^ g_10)) && l_128), 2)), (-3L))), l_132))), 1UL)), g_90[(g_87 + 5)][g_87])) < g_52), 0xC2L)))
                { /* block id: 36 */
                    int32_t l_145 = 0xF1D218BDL;
                    int32_t l_149 = 0L;
                    int32_t l_155 = 0x1E95E8B2L;
                    int32_t l_159[1];
                    int64_t *l_177[4][7][1] = {{{&l_128},{&l_128},{&l_128},{&l_128},{&l_128},{&l_128},{&l_128}},{{&l_128},{&l_128},{&l_128},{&l_128},{&l_128},{&l_128},{&l_128}},{{&l_128},{&l_128},{&l_128},{&l_128},{&l_128},{&l_128},{&l_128}},{{&l_128},{&l_128},{&l_128},{&l_128},{&l_128},{&l_128},{&l_128}}};
                    int i, j, k;
                    for (i = 0; i < 1; i++)
                        l_159[i] = 0xD0C7CD9FL;
                    if ((l_108 &= (safe_lshift_func_int32_t_s_s(0xECD4BAD5L, g_90[(g_87 + 5)][g_87]))))
                    { /* block id: 38 */
                        int32_t *l_135 = &g_27;
                        int32_t *l_136 = &l_108;
                        int32_t *l_137 = &l_132;
                        int32_t *l_138[9][4] = {{&l_132,&g_27,&l_132,&l_132},{&g_27,&g_27,&g_27,&g_27},{&g_27,&l_132,&l_132,&g_27},{&l_132,&g_27,&l_132,&l_132},{&g_27,&g_27,&g_27,&g_27},{&g_27,&l_132,&l_132,&g_27},{&l_132,&g_27,&l_132,&l_132},{&g_27,&g_27,&g_27,&g_27},{&g_27,&l_132,&l_132,&g_27}};
                        uint32_t l_165 = 2UL;
                        int i, j;
                        --l_165;
                        --l_168;
                    }
                    else
                    { /* block id: 41 */
                        int32_t *l_171[4][7] = {{&l_155,(void*)0,&l_155,&l_155,(void*)0,&l_155,&l_155},{&l_161[1],&l_161[1],&l_147,&l_161[1],&l_161[1],&l_147,&l_161[1]},{(void*)0,&l_155,&l_155,(void*)0,&l_155,&l_155,(void*)0},{&l_148,&l_161[1],&l_148,&l_148,&l_161[1],&l_148,&l_148}};
                        int i, j;
                        l_155 = (p_69 | p_69);
                        return l_172;
                    }
                    if (((g_10 < (p_72.f0 = (safe_rshift_func_int64_t_s_u((safe_div_func_int16_t_s_s(p_69, l_154[1])), 24)))) >= g_27))
                    { /* block id: 46 */
                        int32_t *l_178 = &l_151[1][5][0];
                        int32_t *l_179 = &l_131;
                        int32_t *l_180[3][2] = {{&g_27,&g_27},{&g_27,&g_27},{&g_27,&g_27}};
                        uint8_t l_181[6];
                        uint32_t *l_186[4][2] = {{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0}};
                        int i, j;
                        for (i = 0; i < 6; i++)
                            l_181[i] = 255UL;
                        --l_181[5];
                        (*l_178) |= (((void*)0 != &g_87) ^ (p_69 & (g_187 |= ((p_72.f0 == (!0x8C00L)) > (g_185 , p_72.f0)))));
                        l_180[2][0] = &g_27;
                        if (p_71)
                            continue;
                    }
                    else
                    { /* block id: 52 */
                        uint32_t * const l_189 = &g_187;
                        uint32_t * const * const l_188[7][10] = {{(void*)0,&l_189,&l_189,&l_189,&l_189,&l_189,(void*)0,(void*)0,&l_189,&l_189},{&l_189,(void*)0,(void*)0,&l_189,&l_189,&l_189,&l_189,&l_189,(void*)0,(void*)0},{&l_189,(void*)0,&l_189,(void*)0,(void*)0,&l_189,(void*)0,&l_189,(void*)0,&l_189},{&l_189,&l_189,(void*)0,&l_189,&l_189,&l_189,&l_189,&l_189,(void*)0,&l_189},{(void*)0,(void*)0,&l_189,&l_189,&l_189,&l_189,&l_189,(void*)0,(void*)0,&l_189},{(void*)0,&l_189,(void*)0,(void*)0,&l_189,(void*)0,&l_189,(void*)0,&l_189,(void*)0},{&l_189,(void*)0,&l_189,(void*)0,&l_189,&l_189,(void*)0,&l_189,(void*)0,&l_189}};
                        int32_t **l_192 = (void*)0;
                        int32_t **l_193 = (void*)0;
                        int32_t **l_194 = &g_26[4];
                        int32_t *l_197[3];
                        int32_t **l_196 = &l_197[2];
                        int i, j;
                        for (i = 0; i < 3; i++)
                            l_197[i] = &l_159[0];
                        g_190 = l_188[5][6];
                        (*l_196) = ((*l_194) = (void*)0);
                    }
                }
                else
                { /* block id: 57 */
                    int64_t l_198 = 0xC22663ACA4A73BDALL;
                    int32_t l_205 = 0xA3590E6BL;
                    struct S1 *l_208 = &g_209;
                    for (l_141 = 2; (l_141 >= 0); l_141 -= 1)
                    { /* block id: 60 */
                        int16_t l_204 = 7L;
                        l_203 = ((p_69 || ((l_198 >= (0x776AB28833187DDELL >= 0x61E5C7CBDDDD6309LL)) ^ (safe_mod_func_int16_t_s_s(p_72.f0, l_198)))) , (safe_mul_func_int16_t_s_s(0x55CFL, l_198)));
                        if (l_204)
                            continue;
                        if (l_168)
                            break;
                    }
                    l_205 = p_69;
                    (*l_208) = p_72;
                }
                (*g_210) = p_71;
            }
            else
            { /* block id: 69 */
                struct S1 *l_212 = &g_209;
                struct S1 **l_211[1][7];
                int32_t *l_213 = &l_158;
                int32_t *l_214[3];
                int i, j;
                for (i = 0; i < 1; i++)
                {
                    for (j = 0; j < 7; j++)
                        l_211[i][j] = &l_212;
                }
                for (i = 0; i < 3; i++)
                    l_214[i] = &l_161[8];
                l_211[0][1] = (void*)0;
                l_217[0][4]--;
            }
        }
        ++l_225;
        for (l_128 = 0; (l_128 <= 2); l_128 += 1)
        { /* block id: 77 */
            int16_t *l_244 = &l_163;
            int64_t l_256 = 0xE4FADF7A93332FBCLL;
            for (p_69 = 0; (p_69 <= 2); p_69 += 1)
            { /* block id: 80 */
                int32_t l_235[4] = {(-1L),(-1L),(-1L),(-1L)};
                int8_t *l_253 = &l_215[0];
                int64_t *l_255 = &g_209.f0;
                int i, j;
                (*l_220) |= (safe_mul_func_int64_t_s_s((p_72.f0 > 0x4F2DL), (0xDAFEBA3EL <= ((safe_mul_func_int64_t_s_s(p_71, (safe_unary_minus_func_uint8_t_u((g_90[p_69][p_69] = (l_217[1][3] != 255UL)))))) ^ (((p_69 & ((void*)0 == &p_69)) , l_235[3]) , p_69)))));
                l_256 &= (l_235[3] | ((*l_255) ^= ((safe_mod_func_uint16_t_u_u(((((((safe_rshift_func_int8_t_s_s(((safe_add_func_int16_t_s_s((p_69 ^ (((safe_div_func_uint32_t_u_u((&g_216 != l_244), (safe_mul_func_int8_t_s_s((l_225 == (g_90[3][1] <= (g_247 , ((safe_lshift_func_uint16_t_u_u((!(((0x210AL && (safe_add_func_int8_t_s_s(((*l_253) = ((p_71 ^ l_108) == p_72.f0)), g_187))) & p_72.f0) == l_254)), 5)) >= (-1L))))), p_71)))) >= p_72.f0) , (*l_222))), 0x6DA8L)) != p_72.f0), 2)) || p_71) >= g_119) > l_235[1]) && p_72.f0) > 0xC5L), p_69)) & g_10)));
            }
        }
    }
    (*g_277) = ((*l_276) = (((l_257[1][2] , (safe_rshift_func_uint64_t_u_u((safe_mul_func_int16_t_s_s(p_72.f0, (safe_div_func_uint64_t_u_u((safe_rshift_func_uint32_t_u_s((safe_rshift_func_uint64_t_u_s(((*l_270) = (l_106 == g_268[2][0])), (p_69 , (safe_rshift_func_int16_t_s_u(((safe_sub_func_int16_t_s_s(((l_141 , &g_191) != l_275), ((&p_72 != &g_209) , 1L))) > 18446744073709551610UL), 14))))), p_71)), g_269)))), 53))) , p_72.f0) | p_71));
    for (g_187 = 0; (g_187 <= 38); g_187 = safe_add_func_uint32_t_u_u(g_187, 9))
    { /* block id: 94 */
        const uint32_t l_297 = 18446744073709551606UL;
        int32_t * const **l_305 = (void*)0;
        int32_t * const **l_306 = (void*)0;
        int32_t * const *l_308 = (void*)0;
        int32_t * const **l_307 = &l_308;
        int32_t ***l_309 = (void*)0;
        int32_t **l_311 = &g_26[4];
        int32_t ***l_310[8][8][4] = {{{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{(void*)0,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311}},{{(void*)0,&l_311,&l_311,&l_311},{(void*)0,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,(void*)0,&l_311},{&l_311,(void*)0,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{(void*)0,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311}},{{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{(void*)0,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{(void*)0,&l_311,&l_311,&l_311}},{{(void*)0,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,(void*)0,&l_311},{&l_311,(void*)0,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{(void*)0,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311}},{{&l_311,&l_311,&l_311,&l_311},{(void*)0,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311},{(void*)0,&l_311,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311}},{{&l_311,&l_311,&l_311,&l_311},{&l_311,(void*)0,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{(void*)0,(void*)0,(void*)0,&l_311},{&l_311,&l_311,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,(void*)0,&l_311,(void*)0},{&l_311,&l_311,(void*)0,&l_311}},{{&l_311,&l_311,(void*)0,&l_311},{(void*)0,&l_311,&l_311,(void*)0},{&l_311,&l_311,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,(void*)0},{&l_311,(void*)0,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,&l_311,&l_311,&l_311}},{{&l_311,(void*)0,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{(void*)0,(void*)0,(void*)0,&l_311},{&l_311,&l_311,(void*)0,&l_311},{&l_311,&l_311,&l_311,&l_311},{&l_311,(void*)0,&l_311,(void*)0},{&l_311,&l_311,(void*)0,&l_311},{&l_311,&l_311,(void*)0,&l_311}}};
        int64_t *l_313 = &g_209.f0;
        uint16_t *l_314[10][3] = {{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119},{&g_119,&g_119,&g_119}};
        int i, j, k;
        for (p_69 = 0; (p_69 == 60); ++p_69)
        { /* block id: 97 */
            return &g_52;
        }
        l_146 &= (safe_sub_func_int8_t_s_s((((safe_sub_func_uint16_t_u_u(((--(*l_106)) || ((safe_lshift_func_uint8_t_u_u(((safe_mod_func_uint16_t_u_u((safe_div_func_uint8_t_u_u((+((*l_270) = 0xD20E4C8265B78EF1LL)), (safe_lshift_func_int8_t_s_s((g_269 == ((l_297 ^ (safe_lshift_func_int32_t_s_u((*l_276), 5))) ^ 1UL)), l_300)))), (g_119 = (safe_sub_func_int64_t_s_s(((*l_313) &= (safe_add_func_int64_t_s_s(((((*l_307) = &g_26[3]) == (g_312 = &l_276)) >= (*l_276)), g_119))), p_71))))) <= 0x1E9C7BF9L), (*l_276))) ^ (*l_276))), g_216)) | 0UL) || g_269), (-1L)));
    }
    return &g_52;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    transparent_crc(g_10, "g_10", print_hash_value);
    transparent_crc(g_27, "g_27", print_hash_value);
    transparent_crc(g_52, "g_52", print_hash_value);
    transparent_crc(g_56, "g_56", print_hash_value);
    transparent_crc(g_87, "g_87", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 3; j++)
        {
            transparent_crc(g_90[i][j], "g_90[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_119, "g_119", print_hash_value);
    transparent_crc(g_185.f0, "g_185.f0", print_hash_value);
    transparent_crc(g_185.f1, "g_185.f1", print_hash_value);
    transparent_crc(g_185.f2, "g_185.f2", print_hash_value);
    transparent_crc(g_185.f3, "g_185.f3", print_hash_value);
    transparent_crc(g_185.f4, "g_185.f4", print_hash_value);
    transparent_crc(g_187, "g_187", print_hash_value);
    transparent_crc(g_209.f0, "g_209.f0", print_hash_value);
    transparent_crc(g_216, "g_216", print_hash_value);
    transparent_crc(g_247.f0, "g_247.f0", print_hash_value);
    transparent_crc(g_247.f1, "g_247.f1", print_hash_value);
    transparent_crc(g_247.f2, "g_247.f2", print_hash_value);
    transparent_crc(g_247.f3, "g_247.f3", print_hash_value);
    transparent_crc(g_247.f4, "g_247.f4", print_hash_value);
    transparent_crc(g_269, "g_269", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_317[i], "g_317[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_319, "g_319", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_339[i], "g_339[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_343, "g_343", print_hash_value);
    transparent_crc(g_404, "g_404", print_hash_value);
    transparent_crc(g_406, "g_406", print_hash_value);
    transparent_crc(g_423, "g_423", print_hash_value);
    transparent_crc(g_507, "g_507", print_hash_value);
    transparent_crc(g_516.f0, "g_516.f0", print_hash_value);
    transparent_crc(g_516.f1, "g_516.f1", print_hash_value);
    transparent_crc(g_516.f2, "g_516.f2", print_hash_value);
    transparent_crc(g_516.f3, "g_516.f3", print_hash_value);
    transparent_crc(g_516.f4, "g_516.f4", print_hash_value);
    transparent_crc(g_519, "g_519", print_hash_value);
    transparent_crc(g_535, "g_535", print_hash_value);
    transparent_crc(g_537, "g_537", print_hash_value);
    transparent_crc(g_609.f0, "g_609.f0", print_hash_value);
    transparent_crc(g_609.f1, "g_609.f1", print_hash_value);
    transparent_crc(g_609.f2, "g_609.f2", print_hash_value);
    transparent_crc(g_609.f3, "g_609.f3", print_hash_value);
    transparent_crc(g_609.f4, "g_609.f4", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 9; j++)
        {
            transparent_crc(g_652[i][j], "g_652[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_666, "g_666", print_hash_value);
    transparent_crc(g_715, "g_715", print_hash_value);
    transparent_crc(g_756, "g_756", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_766[i].f0, "g_766[i].f0", print_hash_value);
        transparent_crc(g_766[i].f1, "g_766[i].f1", print_hash_value);
        transparent_crc(g_766[i].f2, "g_766[i].f2", print_hash_value);
        transparent_crc(g_766[i].f3, "g_766[i].f3", print_hash_value);
        transparent_crc(g_766[i].f4, "g_766[i].f4", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_909[i].f0, "g_909[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_967, "g_967", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 7; j++)
        {
            for (k = 0; k < 8; k++)
            {
                transparent_crc(g_968[i][j][k], "g_968[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1169, "g_1169", print_hash_value);
    transparent_crc(g_1213, "g_1213", print_hash_value);
    transparent_crc(g_1231, "g_1231", print_hash_value);
    transparent_crc(g_1233.f0, "g_1233.f0", print_hash_value);
    transparent_crc(g_1233.f1, "g_1233.f1", print_hash_value);
    transparent_crc(g_1233.f2, "g_1233.f2", print_hash_value);
    transparent_crc(g_1233.f3, "g_1233.f3", print_hash_value);
    transparent_crc(g_1233.f4, "g_1233.f4", print_hash_value);
    transparent_crc(g_1245, "g_1245", print_hash_value);
    transparent_crc(g_1311, "g_1311", print_hash_value);
    transparent_crc(g_1330.f0, "g_1330.f0", print_hash_value);
    transparent_crc(g_1330.f1, "g_1330.f1", print_hash_value);
    transparent_crc(g_1330.f2, "g_1330.f2", print_hash_value);
    transparent_crc(g_1330.f3, "g_1330.f3", print_hash_value);
    transparent_crc(g_1330.f4, "g_1330.f4", print_hash_value);
    transparent_crc(g_1408.f0, "g_1408.f0", print_hash_value);
    transparent_crc(g_1408.f1, "g_1408.f1", print_hash_value);
    transparent_crc(g_1408.f2, "g_1408.f2", print_hash_value);
    transparent_crc(g_1408.f3, "g_1408.f3", print_hash_value);
    transparent_crc(g_1408.f4, "g_1408.f4", print_hash_value);
    transparent_crc(g_1425.f0, "g_1425.f0", print_hash_value);
    transparent_crc(g_1425.f1, "g_1425.f1", print_hash_value);
    transparent_crc(g_1425.f2, "g_1425.f2", print_hash_value);
    transparent_crc(g_1425.f3, "g_1425.f3", print_hash_value);
    transparent_crc(g_1425.f4, "g_1425.f4", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 6; j++)
        {
            transparent_crc(g_1469[i][j], "g_1469[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_1570, "g_1570", print_hash_value);
    transparent_crc(g_1601, "g_1601", print_hash_value);
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 9; j++)
        {
            transparent_crc(g_1614[i][j].f0, "g_1614[i][j].f0", print_hash_value);
            transparent_crc(g_1614[i][j].f1, "g_1614[i][j].f1", print_hash_value);
            transparent_crc(g_1614[i][j].f2, "g_1614[i][j].f2", print_hash_value);
            transparent_crc(g_1614[i][j].f3, "g_1614[i][j].f3", print_hash_value);
            transparent_crc(g_1614[i][j].f4, "g_1614[i][j].f4", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_1652.f0, "g_1652.f0", print_hash_value);
    transparent_crc(g_1652.f1, "g_1652.f1", print_hash_value);
    transparent_crc(g_1652.f2, "g_1652.f2", print_hash_value);
    transparent_crc(g_1652.f3, "g_1652.f3", print_hash_value);
    transparent_crc(g_1652.f4, "g_1652.f4", print_hash_value);
    transparent_crc(g_1677.f0, "g_1677.f0", print_hash_value);
    transparent_crc(g_1677.f1, "g_1677.f1", print_hash_value);
    transparent_crc(g_1677.f2, "g_1677.f2", print_hash_value);
    transparent_crc(g_1677.f3, "g_1677.f3", print_hash_value);
    transparent_crc(g_1677.f4, "g_1677.f4", print_hash_value);
    transparent_crc(g_1813.f0, "g_1813.f0", print_hash_value);
    transparent_crc(g_1813.f1, "g_1813.f1", print_hash_value);
    transparent_crc(g_1813.f2, "g_1813.f2", print_hash_value);
    transparent_crc(g_1813.f3, "g_1813.f3", print_hash_value);
    transparent_crc(g_1813.f4, "g_1813.f4", print_hash_value);
    transparent_crc(g_1858.f0, "g_1858.f0", print_hash_value);
    transparent_crc(g_1858.f1, "g_1858.f1", print_hash_value);
    transparent_crc(g_1858.f2, "g_1858.f2", print_hash_value);
    transparent_crc(g_1858.f3, "g_1858.f3", print_hash_value);
    transparent_crc(g_1858.f4, "g_1858.f4", print_hash_value);
    transparent_crc(g_1956.f0, "g_1956.f0", print_hash_value);
    transparent_crc(g_1956.f1, "g_1956.f1", print_hash_value);
    transparent_crc(g_1956.f2, "g_1956.f2", print_hash_value);
    transparent_crc(g_1956.f3, "g_1956.f3", print_hash_value);
    transparent_crc(g_1956.f4, "g_1956.f4", print_hash_value);
    transparent_crc(g_2075, "g_2075", print_hash_value);
    transparent_crc(g_2156.f0, "g_2156.f0", print_hash_value);
    transparent_crc(g_2156.f1, "g_2156.f1", print_hash_value);
    transparent_crc(g_2156.f2, "g_2156.f2", print_hash_value);
    transparent_crc(g_2156.f3, "g_2156.f3", print_hash_value);
    transparent_crc(g_2156.f4, "g_2156.f4", print_hash_value);
    transparent_crc(g_2249, "g_2249", print_hash_value);
    transparent_crc(g_2351.f0, "g_2351.f0", print_hash_value);
    transparent_crc(g_2351.f1, "g_2351.f1", print_hash_value);
    transparent_crc(g_2351.f2, "g_2351.f2", print_hash_value);
    transparent_crc(g_2351.f3, "g_2351.f3", print_hash_value);
    transparent_crc(g_2351.f4, "g_2351.f4", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 5; j++)
        {
            transparent_crc(g_2371[i][j], "g_2371[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2391, "g_2391", print_hash_value);
    transparent_crc(g_2401, "g_2401", print_hash_value);
    transparent_crc(g_2412, "g_2412", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 10; j++)
        {
            for (k = 0; k < 8; k++)
            {
                transparent_crc(g_2460[i][j][k], "g_2460[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2512, "g_2512", print_hash_value);
    transparent_crc(g_2678, "g_2678", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 6; j++)
        {
            transparent_crc(g_2852[i][j], "g_2852[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 7; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_2924[i][j][k].f0, "g_2924[i][j][k].f0", print_hash_value);
                transparent_crc(g_2924[i][j][k].f1, "g_2924[i][j][k].f1", print_hash_value);
                transparent_crc(g_2924[i][j][k].f2, "g_2924[i][j][k].f2", print_hash_value);
                transparent_crc(g_2924[i][j][k].f3, "g_2924[i][j][k].f3", print_hash_value);
                transparent_crc(g_2924[i][j][k].f4, "g_2924[i][j][k].f4", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2933.f0, "g_2933.f0", print_hash_value);
    transparent_crc(g_2933.f1, "g_2933.f1", print_hash_value);
    transparent_crc(g_2933.f2, "g_2933.f2", print_hash_value);
    transparent_crc(g_2933.f3, "g_2933.f3", print_hash_value);
    transparent_crc(g_2933.f4, "g_2933.f4", print_hash_value);
    transparent_crc(g_2952.f0, "g_2952.f0", print_hash_value);
    transparent_crc(g_2952.f1, "g_2952.f1", print_hash_value);
    transparent_crc(g_2952.f2, "g_2952.f2", print_hash_value);
    transparent_crc(g_2952.f3, "g_2952.f3", print_hash_value);
    transparent_crc(g_2952.f4, "g_2952.f4", print_hash_value);
    transparent_crc(g_2985.f0, "g_2985.f0", print_hash_value);
    transparent_crc(g_2985.f1, "g_2985.f1", print_hash_value);
    transparent_crc(g_2985.f2, "g_2985.f2", print_hash_value);
    transparent_crc(g_2985.f3, "g_2985.f3", print_hash_value);
    transparent_crc(g_2985.f4, "g_2985.f4", print_hash_value);
    transparent_crc(g_2991, "g_2991", print_hash_value);
    transparent_crc(g_3045, "g_3045", print_hash_value);
    transparent_crc(g_3077, "g_3077", print_hash_value);
    transparent_crc(g_3085.f0, "g_3085.f0", print_hash_value);
    transparent_crc(g_3085.f1, "g_3085.f1", print_hash_value);
    transparent_crc(g_3085.f2, "g_3085.f2", print_hash_value);
    transparent_crc(g_3085.f3, "g_3085.f3", print_hash_value);
    transparent_crc(g_3085.f4, "g_3085.f4", print_hash_value);
    transparent_crc(g_3086.f0, "g_3086.f0", print_hash_value);
    transparent_crc(g_3086.f1, "g_3086.f1", print_hash_value);
    transparent_crc(g_3086.f2, "g_3086.f2", print_hash_value);
    transparent_crc(g_3086.f3, "g_3086.f3", print_hash_value);
    transparent_crc(g_3086.f4, "g_3086.f4", print_hash_value);
    transparent_crc(g_3169.f0, "g_3169.f0", print_hash_value);
    transparent_crc(g_3169.f1, "g_3169.f1", print_hash_value);
    transparent_crc(g_3169.f2, "g_3169.f2", print_hash_value);
    transparent_crc(g_3169.f3, "g_3169.f3", print_hash_value);
    transparent_crc(g_3169.f4, "g_3169.f4", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 2; j++)
        {
            transparent_crc(g_3246[i][j], "g_3246[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_3299.f0, "g_3299.f0", print_hash_value);
    transparent_crc(g_3299.f1, "g_3299.f1", print_hash_value);
    transparent_crc(g_3299.f2, "g_3299.f2", print_hash_value);
    transparent_crc(g_3299.f3, "g_3299.f3", print_hash_value);
    transparent_crc(g_3299.f4, "g_3299.f4", print_hash_value);
    transparent_crc(g_3316.f0, "g_3316.f0", print_hash_value);
    transparent_crc(g_3316.f1, "g_3316.f1", print_hash_value);
    transparent_crc(g_3316.f2, "g_3316.f2", print_hash_value);
    transparent_crc(g_3316.f3, "g_3316.f3", print_hash_value);
    transparent_crc(g_3316.f4, "g_3316.f4", print_hash_value);
    transparent_crc(g_3328.f0, "g_3328.f0", print_hash_value);
    transparent_crc(g_3328.f1, "g_3328.f1", print_hash_value);
    transparent_crc(g_3328.f2, "g_3328.f2", print_hash_value);
    transparent_crc(g_3328.f3, "g_3328.f3", print_hash_value);
    transparent_crc(g_3328.f4, "g_3328.f4", print_hash_value);
    transparent_crc(g_3414, "g_3414", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 4; j++)
        {
            for (k = 0; k < 6; k++)
            {
                transparent_crc(g_3467[i][j][k], "g_3467[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_3469, "g_3469", print_hash_value);
    transparent_crc(g_3497, "g_3497", print_hash_value);
    transparent_crc(g_3522.f0, "g_3522.f0", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        transparent_crc(g_3527[i].f0, "g_3527[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_3628, "g_3628", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_3692[i], "g_3692[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_3695[i], "g_3695[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_3736, "g_3736", print_hash_value);
    transparent_crc(g_3739.f0, "g_3739.f0", print_hash_value);
    transparent_crc(g_3739.f1, "g_3739.f1", print_hash_value);
    transparent_crc(g_3739.f2, "g_3739.f2", print_hash_value);
    transparent_crc(g_3739.f3, "g_3739.f3", print_hash_value);
    transparent_crc(g_3739.f4, "g_3739.f4", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 6; j++)
        {
            transparent_crc(g_3776[i][j].f0, "g_3776[i][j].f0", print_hash_value);
            transparent_crc(g_3776[i][j].f1, "g_3776[i][j].f1", print_hash_value);
            transparent_crc(g_3776[i][j].f2, "g_3776[i][j].f2", print_hash_value);
            transparent_crc(g_3776[i][j].f3, "g_3776[i][j].f3", print_hash_value);
            transparent_crc(g_3776[i][j].f4, "g_3776[i][j].f4", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 1; k++)
            {
                transparent_crc(g_3945[i][j][k].f0, "g_3945[i][j][k].f0", print_hash_value);
                transparent_crc(g_3945[i][j][k].f1, "g_3945[i][j][k].f1", print_hash_value);
                transparent_crc(g_3945[i][j][k].f2, "g_3945[i][j][k].f2", print_hash_value);
                transparent_crc(g_3945[i][j][k].f3, "g_3945[i][j][k].f3", print_hash_value);
                transparent_crc(g_3945[i][j][k].f4, "g_3945[i][j][k].f4", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_3973.f0, "g_3973.f0", print_hash_value);
    transparent_crc(g_3973.f1, "g_3973.f1", print_hash_value);
    transparent_crc(g_3973.f2, "g_3973.f2", print_hash_value);
    transparent_crc(g_3973.f3, "g_3973.f3", print_hash_value);
    transparent_crc(g_3973.f4, "g_3973.f4", print_hash_value);
    transparent_crc(g_3975.f0, "g_3975.f0", print_hash_value);
    transparent_crc(g_3975.f1, "g_3975.f1", print_hash_value);
    transparent_crc(g_3975.f2, "g_3975.f2", print_hash_value);
    transparent_crc(g_3975.f3, "g_3975.f3", print_hash_value);
    transparent_crc(g_3975.f4, "g_3975.f4", print_hash_value);
    transparent_crc(g_3980, "g_3980", print_hash_value);
    transparent_crc(g_4048, "g_4048", print_hash_value);
    transparent_crc(g_4143, "g_4143", print_hash_value);
    transparent_crc(g_4157.f0, "g_4157.f0", print_hash_value);
    transparent_crc(g_4157.f1, "g_4157.f1", print_hash_value);
    transparent_crc(g_4157.f2, "g_4157.f2", print_hash_value);
    transparent_crc(g_4157.f3, "g_4157.f3", print_hash_value);
    transparent_crc(g_4157.f4, "g_4157.f4", print_hash_value);
    transparent_crc(g_4303, "g_4303", print_hash_value);
    transparent_crc(g_4307, "g_4307", print_hash_value);
    transparent_crc(g_4324, "g_4324", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 1
breakdown:
   depth: 0, occurrence: 1118
   depth: 1, occurrence: 67
XXX total union variables: 0

XXX non-zero bitfields defined in structs: 1
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 1
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 52
breakdown:
   indirect level: 0, occurrence: 26
   indirect level: 1, occurrence: 9
   indirect level: 2, occurrence: 6
   indirect level: 3, occurrence: 5
   indirect level: 4, occurrence: 6
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 11
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 43
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 13

XXX max expression depth: 40
breakdown:
   depth: 1, occurrence: 476
   depth: 2, occurrence: 108
   depth: 3, occurrence: 15
   depth: 4, occurrence: 5
   depth: 5, occurrence: 2
   depth: 6, occurrence: 5
   depth: 8, occurrence: 3
   depth: 10, occurrence: 1
   depth: 12, occurrence: 2
   depth: 14, occurrence: 1
   depth: 15, occurrence: 4
   depth: 16, occurrence: 9
   depth: 17, occurrence: 3
   depth: 18, occurrence: 9
   depth: 19, occurrence: 9
   depth: 20, occurrence: 7
   depth: 21, occurrence: 6
   depth: 22, occurrence: 6
   depth: 23, occurrence: 3
   depth: 24, occurrence: 4
   depth: 25, occurrence: 9
   depth: 26, occurrence: 7
   depth: 27, occurrence: 3
   depth: 28, occurrence: 2
   depth: 29, occurrence: 3
   depth: 30, occurrence: 2
   depth: 31, occurrence: 2
   depth: 32, occurrence: 2
   depth: 33, occurrence: 3
   depth: 34, occurrence: 1
   depth: 36, occurrence: 2
   depth: 37, occurrence: 1
   depth: 39, occurrence: 1
   depth: 40, occurrence: 1

XXX total number of pointers: 906

XXX times a variable address is taken: 2197
XXX times a pointer is dereferenced on RHS: 550
breakdown:
   depth: 1, occurrence: 385
   depth: 2, occurrence: 104
   depth: 3, occurrence: 51
   depth: 4, occurrence: 10
XXX times a pointer is dereferenced on LHS: 532
breakdown:
   depth: 1, occurrence: 453
   depth: 2, occurrence: 49
   depth: 3, occurrence: 20
   depth: 4, occurrence: 10
XXX times a pointer is compared with null: 78
XXX times a pointer is compared with address of another variable: 20
XXX times a pointer is compared with another pointer: 24
XXX times a pointer is qualified to be dereferenced: 14943

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 3446
   level: 2, occurrence: 511
   level: 3, occurrence: 315
   level: 4, occurrence: 226
   level: 5, occurrence: 20
XXX number of pointers point to pointers: 443
XXX number of pointers point to scalars: 412
XXX number of pointers point to structs: 51
XXX percent of pointers has null in alias set: 28.5
XXX average alias set size: 1.44

XXX times a non-volatile is read: 3372
XXX times a non-volatile is write: 1728
XXX times a volatile is read: 278
XXX    times read thru a pointer: 75
XXX times a volatile is write: 70
XXX    times written thru a pointer: 4
XXX times a volatile is available for access: 9.77e+03
XXX percentage of non-volatile access: 93.6

XXX forward jumps: 5
XXX backward jumps: 15

XXX stmts: 482
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 35
   depth: 1, occurrence: 41
   depth: 2, occurrence: 65
   depth: 3, occurrence: 81
   depth: 4, occurrence: 116
   depth: 5, occurrence: 144

XXX percentage a fresh-made variable is used: 17.4
XXX percentage an existing variable is used: 82.6
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/

